函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-timers.c Create Date:2022-07-27 11:46:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:SYSCALL_DEFINE4

函数原型:SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, const struct __kernel_timespec __user *, rqtp, struct __kernel_timespec __user *, rmtp)

返回类型:

参数:

1212  kc等于clockid_to_kclock(which_clock)
1215  如果非kc则返回:负EINVAL
1217  如果非nsleep则返回:负EOPNOTSUPP
1220  如果get_timespec64( & t, rqtp)则返回:负EFAULT
1223  如果非Returns true if the timespec64 is norm, false if denorm:则返回:负EINVAL
1225  如果prefix, newline flags 按位与The various flags for setting POSIX.1b interval timers:rmtp = NULL
1227  type等于如果rmtpTT_NATIVE否则TT_NONE
1228  rmtp等于rmtp
1230  返回:nsleep(which_clock, prefix, newline flags , & t)