mq_close man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

mq_close(2)							   mq_close(2)

NAME
       mq_close - close a message queue descriptor

SYNOPSIS
DESCRIPTION
       The  system  call  removes  the	association  between the message queue
       descriptor, mqdes, and a message	 queue.	 Use  of  this	message	 queue
       descriptor  by  the  process,  after  a successful return from this and
       until this descriptor is returned by a subsequent will  result  in  the
       failure of message queue system calls, with set to

       If  the process has successfully attached a notification request to the
       message queue via this mqdes, this attachment shall be removed, and the
       message	queue is available for another process to attach for notifica‐
       tion.

       If the message queue has been unlinked and mqdes is the	only  existing
       open descriptor for the queue, the queue is destroyed.

       To use this function, link in the realtime library by specifying on the
       compiler or linker command line.

RETURN VALUE
       returns the following values:

	      Successful completion.

	      Failure.
		   is set to indicate the error.

ERRORS
       If fails, is set to one of the following values:

	      mqdes	     is not a valid message queue descriptor.

	      is not supported by the implementation.

SEE ALSO
       mq_open(2), mq_unlink(2), mq_notify(2).

STANDARDS CONFORMANCE
								   mq_close(2)
[top]

List of man pages available for HP-UX

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