# CMSG_ALIGN

- **Language:** C
- **Kind:** constant
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/compat.h#L193
- **Page:** https://libtmux.org/en/tmux/3.2a/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.2a/reference/c-define-compat-h-cmsg_len/) (constant)
- [`CMSG_SPACE`](/en/tmux/3.2a/reference/c-define-compat-h-cmsg_space/) (constant)
