#include <kernel.h>
#include <semaphore.h>
Go to the source code of this file.
Functions | |
syscall | scount (semaphore sem) |
Definition in file scount.c.
syscall scount | ( | semaphore | sem | ) |
scount - return a semaphore count
sem | id of semaphore to query |
Definition at line 17 of file scount.c.
References isbadsem, semtab, and SYSERR.
Referenced by uartRead(), and uartWrite().