github.com/nvi-inc/svipc@v0.1.0/types.go (about) 1 // +build ignore 2 3 package svipc 4 5 /* 6 #include <stddef.h> 7 #include <sys/types.h> 8 #include <sys/ipc.h> 9 #include <sys/shm.h> 10 #include <sys/sem.h> 11 */ 12 import "C" 13 14 type IpcKey C.key_t 15 16 type IpcPerm C.struct_ipc_perm 17 18 type ShmId C.struct_shmid_ds 19 20 //Linux only 21 type ShmInfo C.struct_shminfo 22 23 type SemId C.struct_semid_ds