summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/semctl.c
blob: 313a1dbeda8fa84524d57f30b7f50ac643370faf (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 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));
}
OpenPOWER on IntegriCloud