33 #ifndef _FREERTOS_POSIX_MQUEUE_H_ 34 #define _FREERTOS_POSIX_MQUEUE_H_ 141 unsigned int * msg_prio );
167 const char * msg_ptr,
229 const char * msg_ptr,
int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat)
Get message queue attributes.
Definition: FreeRTOS_POSIX_mqueue.c:453
long mq_curmsgs
Definition: mqueue.h:52
int mq_unlink(const char *name)
Remove a message queue.
Definition: FreeRTOS_POSIX_mqueue.c:821
long mq_maxmsg
Definition: mqueue.h:50
Message queue attributes.
Definition: mqueue.h:47
int ssize_t
Used for a count of bytes or an error indication. Enabled/disabled by posixconfigENABLE_SSIZE_T.
Definition: types.h:134
int mq_close(mqd_t mqdes)
Close a message queue.
Definition: FreeRTOS_POSIX_mqueue.c:390
int mode_t
Used for some file attributes. Enabled/disabled by posixconfigENABLE_MODE_T.
Definition: types.h:60
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:623
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:613
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:603
long mq_msgsize
Definition: mqueue.h:51
void * mqd_t
Message queue descriptor.
Definition: mqueue.h:42
long mq_flags
Definition: mqueue.h:49
represents an elapsed time
Definition: time.h:78
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.
Definition: FreeRTOS_POSIX_mqueue.c:716
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:486