1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/lib/libc/gen/semop.c

16 lines
279 B
C
Raw Normal View History

1994-09-13 14:52:45 +00:00
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#if __STDC__
int semop(int semid, struct sembuf *sops, unsigned nsops)
#else
int semop(semid, sops, nsops)
int semid;
struct sembuf *sops;
unsigned nsops;
#endif
{
return (semsys(2, semid, sops, nsops, 0));
}