Extract the I/O function pointers associated with the client connection
#include <sys/iofunc.h> #include <sys/resmgr.h> const resmgr_io_funcs_t * resmgr_iofuncs(resmgr_context_t * ctp);
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The resmgr_iofuncs() function retrieves the I/O function callout table associated with the client connection referenced by ctp.
A pointer to the resmgr_io_funcs_t I/O function callout table, or NULL if an error occurred.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |