|
发表于 2003-4-3 02:44:44
|
显示全部楼层
不明白,你跟我一样能上网,能看书,怎么就没有条件呢???
比如:
NAME
shmget - allocates a shared memory segment
SYNOPSIS
#include <sys/ipc.h>
#include <sys/shm.h>
int shmget(key_t key, int size, int shmflg);
DESCRIPTION
shmget() returns the identifier of the shared memory segment associated
to the value of the argument key. A new shared memory segment, with
size equal to the round up of size to a multiple of PAGE_SIZE, is cre-
ated if key has value IPC_PRIVATE or key isn't IPC_PRIVATE, no shared
memory segment is associated to key, and IPC_CREAT is asserted in shm-
flg (i.e. shmflg&IPC_CREAT isn't zero).
The value shmflg is composed of:
还可以搜索:IPC SysV shm |
|