Function report |
Source Code:kernel\time\posix-stubs.c |
Create Date:2022-07-28 10:49:33 |
| 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
| 132 | Case which_clock == CLOCK_MONOTONIC |
| 133 | Case which_clock == CLOCK_BOOTTIME |
| 134 | Break |
| 135 | Default |
| 136 | Return -EINVAL |
| 139 | If get_timespec64( & t, rqtp) Then Return -EFAULT |
| 141 | If Not Returns true if the timespec64 is norm, false if denorm: Then Return -EINVAL |
| 143 | If prefix, newline flags & The various flags for setting POSIX.1b interval timers: Then rmtp = NULL |
| 147 | Return hrtimer_nanosleep( & t, prefix, newline flags & The various flags for setting POSIX.1b interval timers: ? Time value is absolute : Time value is relative to now, which_clock) |
| 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 |