Interface __OFF_T_ALIGN

Preprocessor macro expanding to an expression

#include <SYS/TYPES.H>

__OFF_T_ALIGN

Description

This macro expands to an integer value representing required alignment of the off_t and _u_off_t types. If the value is not aligned to this value, it is considered an error.

This value is used in kernel to check arguments passed from userspace. If the off_t argument is not aligned to this boundary, the kernel must not touch the argument (as it may generate unaligned access exceptions on some architectures) and must return an error to userspace program.

See also

off_t, _u_off_t