mq_close man page on Tru64

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
Tru64 logo
[printable version]

mq_close(3)							   mq_close(3)

NAME
       mq_close - Closes a message queue (P1003.1b)

SYNOPSIS
       #include <mqueue.h>

       int mq_close ( mqd_t mqdes);

LIBRARY
       Realtime Library (librt.so, librt.a)

PARAMETERS
       Specifies a message queue descriptor.

DESCRIPTION
       The 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 associ‐
       ated with an open message queue description have been closed, the asso‐
       ciated  open message queue description is removed.  The message associ‐
       ated 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 VALUES
       On successful completion, the function returns the value 0 (zero); oth‐
       erwise, the function returns the value -1 and sets  errno  to  indicate
       the error.

ERRORS
       The  mq_close  function fails under the following conditions: The mqdes
       argument is an invalid message queue descriptor.	 An  internal  virtual
       memory error occurred.

SEE ALSO
       Functions: mq_open(3), mq_unlink(3)

       Guide to Realtime Programming

								   mq_close(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net