Function report |
Source Code:kernel\time\time.c |
Create Date:2022-07-28 10:38:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:COMPAT_SYSCALL_DEFINE2
Proto:COMPAT_SYSCALL_DEFINE2(settimeofday, struct old_timeval32 __user *, tv, struct timezone __user *, tz)
Type:
Parameter:Nothing
249 | If tv Then |
250 | If Get a simple variable from user space( seconds , & tv_sec) || Get a simple variable from user space( nanoseconds , & tv_usec) Then Return -EFAULT |
254 | If nanoseconds > USEC_PER_SEC || nanoseconds < 0 Then Return -EINVAL |
257 | nanoseconds *= NSEC_PER_USEC |
259 | If tz Then |
260 | 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 |