Function report |
Source Code:kernel\time\time.c |
Create Date:2022-07-28 10:38:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:SYSCALL_DEFINE2
Proto:SYSCALL_DEFINE2(settimeofday, struct __kernel_old_timeval __user *, tv, struct timezone __user *, tz)
Type:
Parameter:Nothing
205 | If tv Then |
206 | If Get a simple variable from user space( seconds , & tv_sec) || Get a simple variable from user space( nanoseconds , & tv_usec) Then Return -EFAULT |
210 | If nanoseconds > USEC_PER_SEC || nanoseconds < 0 Then Return -EINVAL |
213 | nanoseconds *= NSEC_PER_USEC |
215 | If tz Then |
216 | If copy_from_user( & new_tz, tz, size of tz ) Then Return -EFAULT |
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 |