sem_print man page on IRIX

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



sem_print(3C)							 sem_print(3C)

NAME
     sem_print - print the state of a POSIX semaphore

C SYNOPSIS
     #include <semaphore.h>
     int sem_print (sem_t *sem, FILE *fd, const char *label);

DESCRIPTION
     sem_print obtains all the semaphore state of sem and writes it as a
     formatted string to fd.  The string is prefixed with a user specified
     label.

     Semaphore types other than shared POSIX unnamed semaphores are not
     supported by this function.

     sem_print is an IRIX extension to the POSIX interfaces and is not part of
     the IEEE 1003.1b Standard.

     sem_print will fail if one or more of the following are true:

     [EINVAL]	    The specified semaphore is not a supported semaphore type.

     [EBADF]	    The specified file is invalid.

DIAGNOSTICS
     Upon successful completion, a value of 0 is returned to the calling
     process. Otherwise, a value of -1 is returned and errno is set to
     indicate the error.

									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