This action will force synchronization from OpenHarmony/docs, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
Related Modules:
Description:
Provides message queue operation functions and related structures.
For example, you can use the functions to create, open, close, delete, read, and write a message queue, and to obtain and set its attributes.
Since:
1.0
Version:
1.0
mq_close (mqd_t mqdes) |
|
mq_getattr (mqd_t mqdes, struct mq_attr *attr) |
Obtains the attributes of the message queue specified by the descriptor. The values of mq_maxmsg, mq_msgsize, and mq_curmsgs are fixed. |
mq_open (const char *name, int oflag,...) |
|
mq_receive (mqd_t mqdes, char *buffer, size_t size, unsigned *prioptr) |
|
mq_send (mqd_t mqdes, const char *buffer, size_t size, unsigned prio) |
|
mq_setattr (mqd_t mqdes, const struct mq_attr *__restrict newattr, struct mq_attr *__restrict oldattr) |
Sets the attributes of the message queue specified by the descriptor. The mq_maxmsg, mq_msgsize, and mq_curmsgs attributes cannot be modified. mq_flags supports the O_NONBLOCK attribute only. |
mq_timedreceive (mqd_t mqdes, char *__restrict buffer, size_t size, unsigned *__restrict prioptr, const struct timespec *__restrict timeout) |
Receives a message from the message queue, with a timeout period specified. |
mq_timedsend (mqd_t mqdes, const char *buffer, size_t size, unsigned prio, const struct timespec *timeout) |
Sends a message to a specified message queue, with a timeout period specified. |
mq_unlink (const char *name) |
Decreases the reference count of the message queue by 1, or deletes the message queue if the reference count is 0. |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。