tldr/pages/linux/ipcmk.md

21 lines
438 B
Markdown
Raw Normal View History

2019-05-05 13:21:50 +01:00
# ipcmk
> Create IPC (Inter-process Communication) resources.
> More information: <https://manned.org/ipcmk>.
2019-05-05 13:21:50 +01:00
- Create a shared memory segment:
`ipcmk --shmem {{segment_size_in_bytes}}`
- Create a semaphore:
`ipcmk --semaphore {{element_size}}`
- Create a message queue:
`ipcmk --queue`
- Create a shared memory segment with specific permissions (default is 0644):
2022-07-19 15:15:32 +01:00
`ipcmk --shmem {{segment_size_in_bytes}} {{octal_permissions}}`