Inject a canned message when a queue descriptor is closed
#include <sys/dcmd_misc.h> #define DCMD_MISC_MQSETCLOSEMSG __DIOT(_DCMD_MISC, 4, struct { char __data[64];})
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device. |
dcmd | DCMD_MISC_MQSETCLOSEMSG |
dev_data_ptr | A pointer to a struct { char __data[64];}. |
n_bytes | sizeof(struct { char __data[64];}) |
dev_info_ptr | NULL |
This command specifies a canned message that's injected when a message descriptor is closed.
The string that you want to inject.
None.
devctl() in the QNX Neutrino C Library Reference