3 #define F(t,n) {t *y = &x.n;}
4 #define C(n) switch(n){case n:;}
16 F(struct ipc_perm, shm_perm)
20 F(shmatt_t,shm_nattch)
25 void*(*p_shmat)(int,const void*,int) = shmat;
26 int(*p_shmctl)(int,int,struct shmid_ds*) = shmctl;
27 int(*p_shmdt)(const void*) = shmdt;
28 int(*p_shmget)(key_t,size_t,int) = shmget;
49 key_t(*p_ftok)(const char*,int) = ftok;