STDALIGN.H(7) Miscellaneous Information Manual STDALIGN.H(7)
NAME
stdalign.h —
alignment macros
SYNOPSIS
#include
<stdalign.h>
DESCRIPTION
[CX] The functionality described on this reference page is aligned with the ISO C standard. Any conflict between the requirements described here and the ISO C standard is unintentional. This volume of POSIX.1-2024 defers to the ISO C standard.
The <stdalign.h> header shall define the following macros:
- alignas
- Expands to _Alignas
- alignof
- Expands to _Alignof
- __alignas_is_defined
-
Expands to the integer constant 1 - __alignof_is_defined
-
Expands to the integer constant 1
The __alignas_is_defined and __alignof_is_defined macros shall be suitable for use in #if preprocessing directives.
APPLICATION USAGE
None.
RATIONALE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
None.
CHANGE HISTORY
First released in Issue 8. Included for alignment with the ISO/IEC 9899:2018 standard.
June 14, 2024 posix.fail