*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> ustestsema (3p)              
Title
Content
Arch
Section
 

Contents


USTESTSEMA(3P)							USTESTSEMA(3P)


NAME    [Toc]    [Back]

     ustestsema	- return the value of a	semaphore

C SYNOPSIS    [Toc]    [Back]

     #include <ulocks.h>

     int ustestsema (usema_t *sema);

DESCRIPTION    [Toc]    [Back]

     ustestsema	returns	the current value of the semaphore specified by	sema.
     This should be viewed as a	snapshot only, useful for debugging.

SEE ALSO    [Toc]    [Back]

      
      
     usinitsema(3P), usnewsema(3P), uspsema(3P), uscpsema(3P), usvsema(3P).

DIAGNOSTICS    [Toc]    [Back]

     The current count of the semaphore	is returned.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
semget Tru64 Return (and possibly create) a semaphore ID
sem_getvalue FreeBSD get the value of a semaphore
semget OpenBSD get semaphore set
sem_getvalue OpenBSD get the value of a semaphore
semtimedop HP-UX semaphore operations
semop HP-UX semaphore operations
sem_getvalue HP-UX get the value of a POSIX semaphore
semget FreeBSD obtain a semaphore id
msem_unlock HP-UX unlock a semaphore
msem_lock HP-UX lock a semaphore
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service