2 3/* 4 * Implementation of SVID semaphores 5 * 6 * Author: Daniel Boulet 7 * 8 * This software is provided ``AS IS'' without any warranties of any kind. 9 */ 10 11#include <sys/param.h> 12#include <sys/systm.h> 13#include <sys/kernel.h> 14#include <sys/proc.h> 15#include <sys/sem.h> 16#include <sys/malloc.h> 17 18static int semctl(), semget(), semop(), semconfig(); 19int (*semcalls[])() = { semctl, semget, semop, semconfig }; 20int semtot = 0;
| 2 3/* 4 * Implementation of SVID semaphores 5 * 6 * Author: Daniel Boulet 7 * 8 * This software is provided ``AS IS'' without any warranties of any kind. 9 */ 10 11#include <sys/param.h> 12#include <sys/systm.h> 13#include <sys/kernel.h> 14#include <sys/proc.h> 15#include <sys/sem.h> 16#include <sys/malloc.h> 17 18static int semctl(), semget(), semop(), semconfig(); 19int (*semcalls[])() = { semctl, semget, semop, semconfig }; 20int semtot = 0;
|