msem_remove 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]

msem_remove(2)							msem_remove(2)

NAME
       msem_remove - remove a semaphore in mapped file or anonymous region

SYNOPSIS
DESCRIPTION
       removes a binary semaphore.

       sem  points to an structure that specifies the semaphore to be removed.
       Any subsequent use of the structure before it is again  initialized  by
       calling produces undefined results.

       also  causes  any  process waiting in the function on the removed sema‐
       phore to return with an error.

       If the structure contains any value not resulting from a call  to  fol‐
       lowed  by  a  (possibly empty) sequence of calls to and the results are
       undefined.  The address of an uniquely identifies  the  semaphore.   If
       the structure contains any value copied from a structure at a different
       address, the result is undefined.

RETURN VALUE
       Upon success, returns zero; otherwise, it returns −1 and sets to	 indi‐
       cate the error.

ERRORS
       fails if any of the following conditions are encountered:

	      [EINVAL]	     sem points to an structure that has been removed.

	      [EFAULT]	     sem is an invalid pointer.

AUTHOR
       was developed by HP and OSF.

SEE ALSO
       msem_init(2), msem_lock(2), msem_remove(2), mman(5).

STANDARDS CONFORMANCE
								msem_remove(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