?? test.c
字號:
#include <stdlib.h>#include <signal.h>#include <unistd.h>#include "../include/structs.h"#include "../include/stddef.h"int main(){ SHM *shm; int shmid; key_t key; key = ftok("/root/test.c" , 0); shmid = shmget(key , SHM_SIZE , 0600); shm = (SHM *)shmat(shmid , 0 , 0); printf("%p\n" , shm);}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -