函数逻辑报告 |
Source Code:fs\select.c |
Create Date:2022-07-29 10:36:59 |
| Last Modify:2020-03-18 10:25:38 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:poll_select_set_timeout - helper function to setup the timeout value*@to: pointer to timespec64 variable for the final timeout*@sec: seconds (from user space)*@nsec: nanoseconds (from user space)* Note, we do not use a timespec for the user space value
函数原型:int poll_select_set_timeout(struct timespec64 *to, time64_t sec, long nsec)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct timespec64 * | to | |
| time64_t | sec | |
| long | nsec |
| 275 | struct timespec64 ts = { seconds = sec, nanoseconds = nsec} |
| 282 | seconds 等于 nanoseconds 等于0 |
| 283 | 否则 |
| 287 | 返回:0 |
| 名称 | 描述 |
|---|---|
| kern_select | |
| do_pselect | |
| SYSCALL_DEFINE3 | |
| SYSCALL_DEFINE5 | |
| do_compat_select | |
| do_compat_pselect | |
| COMPAT_SYSCALL_DEFINE5 | New compat syscall for 64 bit time_t |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |