mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-30 12:04:07 +00:00
16 lines
250 B
C
16 lines
250 B
C
|
#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));
|
||
|
}
|