Function report |
Source Code:ipc\msg.c |
Create Date:2022-07-28 16:41:50 |
| Last Modify:2020-03-17 22:56:56 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ksys_msgctl
Proto:static long ksys_msgctl(int msqid, int cmd, struct msqid_ds __user *buf, int version)
Type:long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | msqid | |
| int | cmd | |
| struct msqid_ds __user * | buf | |
| int | version |
| 590 | Return err |
| 592 | Case cmd == pcs ctl commands |
| 593 | Case cmd == MSG_STAT_ANY |
| 594 | Case cmd == get ipc_perm options |
| 600 | Return err |
| 601 | Case cmd == set ipc_perm options |
| 602 | If copy_msqid_from_user( & msqid64, buf, version) Then Return -EFAULT |
| 606 | Case cmd == move resource |
| 608 | Default |
| 609 | Return -EINVAL |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE3 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |