63 #ifndef __INCLUDE_MQUEUE_H 64 #define __INCLUDE_MQUEUE_H 70 #include <sys/types.h> 78 #define MQ_NONBLOCK O_NONBLOCK 96 typedef FAR
struct mq_des *
mqd_t;
103 #define EXTERN extern "C" 106 #define EXTERN extern 117 mqd_t mq_open(FAR
const char *mq_name,
int oflags, ...);
135 int mq_send(
mqd_t mqdes, FAR
const char *msg,
size_t msglen,
int prio);
147 ssize_t
mq_receive(
mqd_t mqdes, FAR
char *msg,
size_t msglen, FAR
int *prio);
int mq_getattr(mqd_t mqdes, FAR struct mq_attr *mq_stat)
POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
int mq_setattr(mqd_t mqdes, FAR const struct mq_attr *mq_stat, FAR struct mq_attr *oldstat)
POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
int mq_close(mqd_t mqdes)
POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
FAR struct mq_des * mqd_t
int mq_unlink(FAR const char *mq_name)
POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
sturcutre of mqueue attritube
Structure for elements that define a queue signal. The following is used to attach a signal to a mess...
int mq_send(mqd_t mqdes, FAR const char *msg, size_t msglen, int prio)
POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
ssize_t mq_timedreceive(mqd_t mqdes, FAR char *msg, size_t msglen, FAR int *prio, FAR const struct timespec *abstime)
POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
int mq_notify(mqd_t mqdes, const struct sigevent *notification)
POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
structure represents an elapsed time
mqd_t mq_open(FAR const char *mq_name, int oflags,...)
POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
int mq_timedsend(mqd_t mqdes, FAR const char *msg, size_t msglen, int prio, FAR const struct timespec *abstime)
POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)
ssize_t mq_receive(mqd_t mqdes, FAR char *msg, size_t msglen, FAR int *prio)
POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)