mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 16:39:31 +00:00
16 lines
299 B
C
16 lines
299 B
C
|
#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));
|
||
|
}
|