Files
tldr/pages.zh/linux/ipcmk.md

20 lines
429 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ipcmk
> 创建 IPC进程间通信资源。
> 更多信息:<https://manned.org/ipcmk>。
- 创建一个共享内存段:
`ipcmk --shmem {{segment_size_in_bytes}}`
- 创建一个信号量:
`ipcmk --semaphore {{element_size}}`
- 创建一个消息队列:
`ipcmk --queue`
- 创建一个具有特定权限的共享内存段(默认是 0644
`ipcmk --shmem {{segment_size_in_bytes}} {{octal_permissions}}`