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

  man pages->IRIX man pages -> usdumplock (3p)              



NAME    [Toc]    [Back]

     usdumplock	- dump out information about a specific	lock

C SYNOPSIS    [Toc]    [Back]

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

     int usdumplock (ulock_t lock, FILE	*fd, const char	*str);

DESCRIPTION    [Toc]    [Back]

     usdumplock	dumps information about	lock in	a readable form.  This
     information is written to the file	descriptor given by fd.	 The
     information printed includes where	in memory the lock resides, whether it
     is	locked or free,	and the	metering and debugging information (see
     usctllock(3P)).  The argument str is simply printed as a string, and can
     be	used to	aid in identifying where usdumplock was	called from.

SEE ALSO    [Toc]    [Back]

     usinit(3P), usctllock(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
usdumpsema IRIX dump out information about a specific semaphore
slock Tru64 General: Contains simple lock-specific information
lock Tru64 General: Contains complex lock-specific information
dumpe2fs Linux dump filesystem information
dumpfs FreeBSD dump file system information
cr_info HP-UX retrieve crash dump information
dumpfs OpenBSD dump file system information
dumpfs HP-UX dump file system information
dumpfs_hfs HP-UX dump file system information
dumpfs Tru64 Dump UFS file system information
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service