![]() |
![]() |
![]() |
Initialize the default attribute structure
#include <sys/iofunc.h> void iofunc_attr_init ( iofunc_attr_t *attr, mode_t mode, iofunc_attr_t *dattr, struct _client_info *info );
libc
The iofunc_attr_init() function initializes the passed attr structure with the information derived from the optional dattr, the mode, and the user and group IDs from the optional info client information structure.
The attr -> count, attr -> rcount, attr -> wcount, attr -> rlocks and attr -> wlocks counters are reset to zero.
For more information about the iofunc_attr_t attribute structure, see the "Writing a Resource Manager" chapter in the Programmer's guide.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
iofunc_attr_lock(), iofunc_attr_unlock(), iofunc_ocb_attach(), iofunc_ocb_detach(), resmgr_attach()
![]() |
![]() |
![]() |