33 #ifndef _FREERTOS_POSIX_MQUEUE_H_ 34 #define _FREERTOS_POSIX_MQUEUE_H_ 142 unsigned int * msg_prio );
168 const char * msg_ptr,
230 const char * msg_ptr,
int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat)
Get message queue attributes.
Definition: FreeRTOS_POSIX_mqueue.c:461
long mq_curmsgs
Definition: mqueue.h:53
int mq_unlink(const char *name)
Remove a message queue.
Definition: FreeRTOS_POSIX_mqueue.c:829
long mq_maxmsg
Definition: mqueue.h:51
Message queue attributes.
Definition: mqueue.h:48
int ssize_t
Used for a count of bytes or an error indication.
Definition: types.h:165
int mq_close(mqd_t mqdes)
Close a message queue.
Definition: FreeRTOS_POSIX_mqueue.c:398
ssize_t mq_timedreceive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abstime)
Receive a message from a message queue with timeout.
Definition: FreeRTOS_POSIX_mqueue.c:631
int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio)
Send a message to a message queue.
Definition: FreeRTOS_POSIX_mqueue.c:621
ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned int *msg_prio)
Receive a message from a message queue.
Definition: FreeRTOS_POSIX_mqueue.c:611
long mq_msgsize
Definition: mqueue.h:52
void * mqd_t
Message queue descriptor.
Definition: mqueue.h:42
long mq_flags
Definition: mqueue.h:50
represents an elapsed time
Definition: time.h:99
int mode_t
Used for some file attributes.
Definition: types.h:69
int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abstime)
Send a message to a message queue with timeout.
mqd_t mq_open(const char *name, int oflag, mode_t mode, struct mq_attr *attr)
Open a message queue.
Definition: FreeRTOS_POSIX_mqueue.c:494