fd_prepare
typedef struct fd_prepare class_fd_prepare_t;
(_Generic((_fdf), struct fd_prepare: (_fdf).__fd))
(_Generic((_fdf), struct fd_prepare: (_fdf).__file))
static inline void class_fd_prepare_destructor(const struct fd_prepare *fdf)
static inline int class_fd_prepare_lock_err(const struct fd_prepare *fdf)
struct fd_prepare fdf = { \
fdf.err = ACQUIRE_ERR(fd_prepare, &fdf); \
CLASS_INIT(fd_prepare, _fdf, __FD_PREPARE_INIT(_fd_flags, _file_owned))
struct fd_prepare *fdp = &(_fdf); \
__FD_ADD(__UNIQUE_ID(fd_prepare), _fd_flags, _file_owned)