NetBSD/lib/libc/gen/shmctl.c

16 lines
242 B
C
Raw Normal View History

#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#if __STDC__
int shmctl(int shmid, int cmd, caddr_t buf)
#else
int shmctl(shmid, cmd, buf)
int shmid;
int cmd;
caddr_t buf;
#endif
{
return (shmsys(1, shmid, cmd, buf));
}