函数逻辑报告 |
Source Code:kernel\signal.c |
Create Date:2022-07-27 10:16:55 |
Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:This is also useful for kernel threads that want to temporarily* (or permanently) block certain signals.* NOTE! Unlike the user-mode sys_sigprocmask(), the kernel* interface happily blocks "unblockable" signals like SIGKILL* and friends.
函数原型:int sigprocmask(int how, sigset_t *set, sigset_t *oldset)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | how | |
sigset_t * | set | |
sigset_t * | oldset |
2937 | 当:how恒等于r blocking signals |
2940 | 当:how恒等于r unblocking signals |
2941 | sigandnsets( & newset, & 需要阻塞的信号, set) |
2942 | 退出 |
2943 | 当:how恒等于r setting the signal mask |
2946 | 默认 |
2947 | 返回:负EINVAL |
2950 | __set_current_blocked( & newset) |
2951 | 返回:0 |
名称 | 描述 |
---|---|
SYSCALL_DEFINE4 | sys_rt_sigprocmask - change the list of currently blocked signals*@how: whether to add, remove, or set signals*@nset: stores pending signals*@oset: previous value of signal mask if non-null*@sigsetsize: size of sigset_t type |
COMPAT_SYSCALL_DEFINE4 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |