freebsd-src/lib/libc/gen/semctl.c

16 lines
299 B
C
Raw Normal View History

1994-09-13 15:52:45 +01:00
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#if __STDC__
int semctl(int semid, int semnum, int cmd, union semun semun)
#else
int semctl(semid, int semnum, cmd, semun)
int semid, semnum;
int cmd;
union semun semun;
#endif
{
return (semsys(0, semid, semnum, cmd, &semun));
}