1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/lib/libc/gen/semget.c
David E. O'Brien 333fc21e3c Fix the style of the SCM ID's.
I believe have made all of libc .c's as consistent as possible.
2002-03-22 21:53:29 +00:00

19 lines
297 B
C

#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#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));
}