Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/system/scount.c File Reference

#include <kernel.h>
#include <semaphore.h>

Include dependency graph for scount.c:

Go to the source code of this file.

Functions

syscall scount (semaphore sem)


Detailed Description

scount

Id
scount.c 226 2007-07-12 01:18:27Z mschul

Definition in file scount.c.


Function Documentation

syscall scount ( semaphore  sem  ) 

scount - return a semaphore count

Parameters:
sem id of semaphore to query
Returns:
count from semtab entry on success, SYSERR on failure

Definition at line 17 of file scount.c.

References isbadsem, semtab, and SYSERR.

Referenced by uartRead(), and uartWrite().


Generated on Thu Oct 9 22:35:11 2008 for xinu by  doxygen 1.5.5