Merge from vendor branch CVS:
[dragonfly.git] / lib / libc / gen / semop.c
1 #include <sys/types.h>
2 #include <sys/ipc.h>
3 #include <sys/sem.h>
4
5 #if __STDC__
6 int semop(int semid, struct sembuf *sops, unsigned nsops)
7 #else
8 int semop(semid, sops, nsops)
9         int semid;
10         struct sembuf *sops;
11         unsigned nsops;
12 #endif
13 {
14         return (semsys(2, semid, sops, nsops, 0));
15 }