1 Star 0 Fork 4.9K

Cain / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ipc-h.md 4.66 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

ipc.h

Overview

Related Modules:

IPC

Description:

Defines IPC-related macros.

Since:

1.0

Version:

1.0

Summary

Macros

Macro Name and Value

Description

IPC_CREAT   01000

Defines the input parameter used to create an IPC object.

IPC_EXCL   02000

Defines the input parameter used together with IPC_CREAT to prevent duplicate key values during IPC creation.

IPC_NOWAIT   04000

Defines the input parameter that specifies whether the communication is in non-blocking mode.

IPC_RMID   0

Defines the input parameter used to delete an IPC object.

IPC_SET   1

Defines the input parameter used to set information to the kernel.

IPC_INFO   3

Defines the input parameter used to obtain the system-level restriction information of a specified communication type, for example, shminfo.

IPC_PRIVATE   ((key_t) 0)

Defines the IPC object as a private object.

1
https://gitee.com/cain_qin/docs.git
git@gitee.com:cain_qin/docs.git
cain_qin
docs
docs
master

搜索帮助