alignof(), __alignof_is_defined
QNX SDP8.0C Library ReferenceAPIDeveloper
Get the alignment of a type
Synopsis:
#include <stdalign.h>
#define __alignof_is_defined 1
#ifndef __cplusplus
#define alignof _Alignof;
#endif /* __cplusplus */
Description:
The alignof() macro expands to the C11 _Alignof() operator, which returns the alignment requirements of the given type:
_Alignof( type )
where type is any type name. The result is an integer constant of type size_t.
The value of __alignof_is_defined is 1.
Classification:
Page updated: