summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/semop.c
blob: 0b97c6aacb2f1383a7d7292064a6d2971c8e8a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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));
}
OpenPOWER on IntegriCloud