Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

stdalign.h (3HEAD)

Name

stdalign.h, stdalign - provides four convenient macros for dealing with alignments of objects. The header was added in C11

Synopsis

#include <stdalign.h>

Description

The stdalign.h header defines 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.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Standard
See standards(7) man page.

See Also

attributes(7), standards(7)