uscpsema man page on IRIX

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



USCPSEMA(3P)							  USCPSEMA(3P)

NAME
     uscpsema - conditionally acquires a semaphore

C SYNOPSIS
     #include <ulocks.h>

     int uscpsema (usema_t *sema);

DESCRIPTION
     uscpsema attempts to acquire the semaphore specified by sema. If the
     semaphore is not available (its count is less than zero), uscpsema
     returns immediately with an indication that the semaphore is not
     available.

SEE ALSO
     usinitsema(3P), usnewsema(3P), uspsema(3P), ustestsema(3P), usvsema(3P).

DIAGNOSTICS
     uscpsema returns a 0 if the semaphore is not acquired and 1 if the
     semaphore is acquired.  uscpsema can only return an error (-1) if the
     internal semaphore data structure is corrupted.

									Page 1

[top]

List of man pages available for IRIX

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