Query: msem_remove
OS: hpux
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
msem_remove(2) System Calls Manual msem_remove(2)NAMEmsem_remove - remove a semaphore in mapped file or anonymous regionSYNOPSISDESCRIPTIONremoves 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 semaphore to return with an error. If the structure contains any value not resulting from a call to followed 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 differ- ent address, the result is undefined.RETURN VALUEUpon success, returns zero; otherwise, it returns -1 and sets to indicate the error.ERRORSfails if any of the following conditions are encountered: [EINVAL] sem points to an structure that has been removed. [EFAULT] sem is an invalid pointer.AUTHORwas developed by HP and OSF.SEE ALSOmsem_init(2), msem_lock(2), msem_remove(2), mman(5).STANDARDS CONFORMANCEmsem_remove(2)
Related Man Pages |
---|
msem_unlock(2) - hpux |
sem_init(2) - hpux |
sem_trywait(2) - hpux |
msem_init(3) - osf1 |
msem_unlock(3) - osf1 |
Similar Topics in the Unix Linux Community |
---|
PHP Man Pages Now Available (Over 10,000) |
Is UNIX an open source OS ? |
Sequence extraction |
Thank you members and admins |