Verify the attributes being used to read a link
#include <sys/iofunc.h>
int iofunc_readlink( resmgr_context_t *ctp,
io_readlink_t *msg,
iofunc_attr_t *attr,
struct _client_info *info );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The iofunc_readlink() helper function supports readlink() requests by verifying that attr isn't NULL, and that it refers to a symbolic link.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
_io_connect, _io_connect_link_reply, _io_connect_ftype_reply, iofunc_open(), readlink()
Resource Managers chapter of Getting Started with QNX Neutrino