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

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

Contents


USDUMPSEMA(3P)							USDUMPSEMA(3P)


NAME    [Toc]    [Back]

     usdumpsema	- dump out information about a specific	semaphore

C SYNOPSIS    [Toc]    [Back]

     #include <ulocks.h>
     #include <stdio.h>

     int usdumpsema (usema_t *sema, FILE *fd, const char *str);

DESCRIPTION    [Toc]    [Back]

     usdumpsema	dumps information about	sema in	a readable form.  This
     information is written to the file	descriptor given by fd.	 The
     information printed includes where	in memory the semaphore	resides, what
     its count is, and the metering and	debugging information (see
     usctlsema(3P)).  The argument str is simply printed as a string, and can
     be	used to	aid in identifying where usdumpsema was	called from.

SEE ALSO    [Toc]    [Back]

      
      
     usinit(3P), usctlsema(3P).

DIAGNOSTICS    [Toc]    [Back]

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


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
usdumplock IRIX dump out information about a specific lock
dumpe2fs Linux dump filesystem information
dumpfs HP-UX dump file system information
cr_info HP-UX retrieve crash dump information
dumpfs Tru64 Dump UFS file system information
dumpfs_hfs HP-UX dump file system information
dumpfs OpenBSD dump file system information
dumpfs FreeBSD dump file system information
elfdump HP-UX dump information contained in object files.
odump HP-UX dump information contained in SOM object files
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service