Function report |
Source Code:fs\select.c |
Create Date:2022-07-28 20:07:01 |
Last Modify:2020-03-18 10:25:38 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int poll_select_set_timeout(struct timespec64 *to, time64_t sec, long nsec)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct timespec64 * | to | |
time64_t | sec | |
long | nsec |
275 | struct timespec64 ts = { seconds = sec, nanoseconds = nsec} |
277 | If Not Returns true if the timespec64 is norm, false if denorm: Then Return -EINVAL |
282 | seconds = nanoseconds = 0 |
283 | Else |
287 | Return 0 |
Name | Describe |
---|---|
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 |
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 |