sys/modes.h — Macros for stat structure
The
sys/modes.h
header file contains several macro definitions:
- Defined constant masks and bits for values of type
mode_t
, such as thest_mode
field of thestat
struct - A defined constant mask for the
st_genvalue
field of thestat
struct - Function-like macros for testing values of the
st_mode
field of thestat
struct.
Under z/OS® XL C support,
these definitions are included in sys/stat.h
to make sys/stat.h
conform with POSIX.