Documentation ¶
Index ¶
- Constants
- func Semctl(id uintptr, num int, cmd int) (ret int, err error)
- func Semget(key IpcKey, nsems int, flags int) (id uintptr, err error)
- func Semop(id uintptr, buf unsafe.Pointer, n int) (err error)
- func Shmat(id uintptr, tagaddr uintptr, flags int) (addr unsafe.Pointer, err error)
- func Shmctl(id uintptr, cmd uintptr, shmid *ShmId) (err error)
- func Shmdt(addr unsafe.Pointer) (err error)
- func Shmget(key IpcKey, size uintptr, flags int) (id uintptr, err error)
- type IpcKey
- type IpcPerm
- type SemId
- type ShmId
- type ShmInfo
Constants ¶
View Source
const ( SHM_R = 0400 SHM_W = 0200 SHM_RDONLY = 010000 SHM_RND = 020000 SHM_REMAP = 040000 SHM_EXEC = 0100000 SHM_LOCK = 11 SHM_UNLOCK = 12 SHM_STAT = 13 SHM_INFO = 14 SHM_DEST = 01000 SHM_LOCKED = 02000 SHM_HUGETLB = 04000 SHM_NORESERVE = 010000 IPC_CREAT = 01000 IPC_EXCL = 02000 IPC_NOWAIT = 04000 IPC_RMID = 0 IPC_SET = 1 IPC_STAT = 2 IPC_INFO = 3 SEM_UNDO = 0x1000 GETPID = 11 GETVAL = 12 GETALL = 13 GETNCNT = 14 GETZCNT = 15 SETVAL = 16 SETALL = 17 SEM_STAT = 18 SEM_INFO = 19 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.