Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mqueue.h File Reference

Go to the source code of this file.

Data Structures

struct  mq_attr
 

Typedefs

typedef void * mqd_t
 

Functions

mqd_t mq_open (const char *name, int oflags,...)
 
int mq_close (mqd_t mqdes)
 
int mq_unlink (const char *name)
 
int mq_getattr (mqd_t mqdes, struct mq_attr *mqstat)
 
int mq_receive (mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned int *msg_prio)
 
int mq_send (mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned int msg_prio)
 
int mq_setattr (mqd_t mqdes, const struct mq_attr *mqstat, struct mq_attr *omqstat)
 
int mq_timedreceive (mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned int *msg_prio, const struct timespec *abstime)
 
int mq_timedsend (mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec *abstime)
 
int mq_notify (mqd_t mqdes, const struct sigevent *notification)
 

Typedef Documentation

◆ mqd_t

typedef void* mqd_t

Function Documentation

◆ mq_close()

int mq_close ( mqd_t mqdes)

◆ mq_getattr()

int mq_getattr ( mqd_t mqdes,
struct mq_attr * mqstat )

◆ mq_notify()

int mq_notify ( mqd_t mqdes,
const struct sigevent * notification )

◆ mq_open()

mqd_t mq_open ( const char * name,
int oflags,
... )

◆ mq_receive()

int mq_receive ( mqd_t mqdes,
char * msg_ptr,
size_t msg_len,
unsigned int * msg_prio )

◆ mq_send()

int mq_send ( mqd_t mqdes,
const char * msg_ptr,
size_t msg_len,
unsigned int msg_prio )

◆ mq_setattr()

int mq_setattr ( mqd_t mqdes,
const struct mq_attr * mqstat,
struct mq_attr * omqstat )

◆ mq_timedreceive()

int mq_timedreceive ( mqd_t mqdes,
char * msg_ptr,
size_t msg_len,
unsigned int * msg_prio,
const struct timespec * abstime )

◆ mq_timedsend()

int mq_timedsend ( mqd_t mqdes,
const char * msg_ptr,
size_t msg_len,
unsigned int msg_prio,
const struct timespec * abstime )

◆ mq_unlink()

int mq_unlink ( const char * name)