summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/semget.c
blob: 81c6a86e438cb031ffd83d1a8911453bcae9bab4 (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 semget(key_t key, int nsems, int semflg)
#else
int semget(key, nsems, semflg)
	key_t key;
	int nsems;
	int semflg;
#endif
{
	return (semsys(1, key, nsems, semflg));
}
OpenPOWER on IntegriCloud