Function report |
Source Code:kernel\time\posix-timers.c |
Create Date:2022-07-28 10:47:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:SYSCALL_DEFINE4
Proto:SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, const struct __kernel_timespec __user *, rqtp, struct __kernel_timespec __user *, rmtp)
Type:
Parameter:Nothing
1212 | kc = clockid_to_kclock(which_clock) |
1217 | If Not nsleep Then Return -EOPNOTSUPP |
1220 | If get_timespec64( & t, rqtp) Then Return -EFAULT |
1223 | If Not Returns true if the timespec64 is norm, false if denorm: Then Return -EINVAL |
1225 | If prefix, newline flags & The various flags for setting POSIX.1b interval timers: Then rmtp = NULL |
1230 | Return nsleep(which_clock, prefix, newline flags , & 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 |