Function report |
Source Code:ipc\sem.c |
Create Date:2022-07-28 16:45:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ksys_semctl
Proto:static long ksys_semctl(int semid, int semnum, int cmd, unsigned long arg, int version)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
int | semid | |
int | semnum | |
int | cmd | |
unsigned long | arg | |
int | version |
1648 | Return semctl_info(ns, semid, cmd, p) |
1649 | Case cmd == get ipc_perm options |
1650 | Case cmd == pcs ctl cmds |
1651 | Case cmd == SEM_STAT_ANY |
1657 | Return err |
1658 | Case cmd == get all semval's |
1659 | Case cmd == get semval |
1660 | Case cmd == get sempid |
1661 | Case cmd == get semncnt |
1662 | Case cmd == get semzcnt |
1663 | Case cmd == set all semval's |
1665 | Case cmd == set semval |
1676 | Case cmd == set ipc_perm options |
1677 | If copy_semid_from_user( & semid64, p, version) Then Return -EFAULT |
1680 | Case cmd == move resource |
1682 | Default |
1683 | Return -EINVAL |
Name | Describe |
---|---|
SYSCALL_DEFINE4 |
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 |