Query: mq_close
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
mq_close(3) Library Functions Manual mq_close(3)NAMEmq_close - Closes a message queue (P1003.1b)LIBRARYRealtime Library (librt.so, librt.a)SYNOPSIS#include <mqueue.h> int mq_close ( mqd_t mqdes);PARAMETERSmqdes Specifies a message queue descriptor.DESCRIPTIONThe mq_close function closes a message queue. This function removes the association between the message queue descriptor, mqdes, and its open message queue description. When all message queue descriptors associated with an open message queue description have been closed, the associated open message queue description is removed. The message associated with the message queue will then be deleted if mq_unlink was already called, or is called after all processes have closed the queue.RETURN VALUESOn successful completion, the function returns the value 0 (zero); otherwise, the function returns the value -1 and sets errno to indicate the error.ERRORSThe mq_close function fails under the following conditions: [EBADF] The mqdes argument is an invalid message queue descriptor. [EFAULT] An internal virtual memory error occurred.RELATED INFORMATIONFunctions: mq_open(3), mq_unlink(3) Guide to Realtime Programming delim off mq_close(3)
Related Man Pages |
---|
mq_close(3) - centos |
mq_close(2) - hpux |
mq_close(3rt) - sunos |
mq_close(3) - v7 |
mq_close(3) - php |
Similar Topics in the Unix Linux Community |
---|
queue is disabled |
message queue problem |
dnssubmit queue overload error message |
[C]Problem removing a message queue |
How to display IPC limit on AIX? |