1 .\" $NetBSD: mq_close.3,v 1.1 2009/01/05 21:19:49 rmind Exp $
3 .\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
10 .Nd close a message queue (REALTIME)
16 .Fn mq_close "mqd_t mqdes"
20 function will remove the association between the message queue descriptor,
22 and its message queue.
24 If the process has successfully attached a notification request to
25 the message queue via this
27 this attachment will be removed, and the message queue is available
28 for another process to attach for notification.
39 argument is not a valid message queue descriptor.
50 This function conforms to the
56 function first appeared in
59 Portions of this text are reprinted and reproduced in electronic form
60 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
61 -- Portable Operating System Interface (POSIX), The Open Group Base
62 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
63 Electrical and Electronics Engineers, Inc and The Open Group.
65 event of any discrepancy between this version and the original IEEE and
66 The Open Group Standard, the original IEEE and The Open Group Standard
67 is the referee document.
68 The original Standard can be obtained online at
69 http://www.opengroup.org/unix/online.html .