# CMSG_ALIGN

- **Language:** C
- **Kind:** constant
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/compat.h#L201
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-define-compat-h-cmsg_align/

```c
#define CMSG_ALIGN(len) (((len) + sizeof(long) - 1) & ~(sizeof(long) - 1))
```

## Referenced by

- [`CMSG_LEN`](/en/tmux/3.7c/reference/c-define-compat-h-cmsg_len/) (constant)
- [`CMSG_SPACE`](/en/tmux/3.7c/reference/c-define-compat-h-cmsg_space/) (constant)
