16 lines
242 B
C
16 lines
242 B
C
|
#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));
|
||
|
}
|