blob: 61fb11d97b93e54fbcea2463b33121f64fc5b392 (
plain) (
tree)
|
|
#include <sys/shm.h>
#include "syscall.h"
#include "ipc.h"
int shmget(key_t key, size_t size, int flag)
{
#ifdef SYS_shmget
return syscall(SYS_shmget, key, size, flag);
#else
return syscall(SYS_ipc, IPCOP_shmget, key, size, flag);
#endif
}
|