Function report |
Source Code:fs\utimes.c |
Create Date:2022-07-28 20:11:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_utimes - change times on filename or file descriptor*@dfd: open file descriptor, -1 or AT_FDCWD*@filename: path name or NULL*@times: new times or NULL*@flags: zero or more flags (only AT_SYMLINK_NOFOLLOW for the moment)* If filename is NULL and dfd
Proto:long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, int flags)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
int | dfd | |
const char __user * | filename | |
struct timespec64 * | times | |
int | flags |
93 | If times && ( Not nsec_valid( nanoseconds ) || Not nsec_valid( nanoseconds ) ) Then |
95 | Go to out |
98 | If flags & ~Do not follow symbolic links. Then Go to out |
101 | If filename == NULL && dfd != Special value used to indicateopenat should use the currentworking directory. Then |
104 | If flags & Do not follow symbolic links. Then Go to out |
112 | error = utimes_common( & f_path, times) |
114 | Else |
116 | lookup_flags = 0 |
118 | If Not (flags & Do not follow symbolic links. ) Then lookup_flags |= llow links at the end |
120 | retry : |
121 | error = user_path_at(dfd, filename, lookup_flags, & path) |
125 | error = utimes_common( & path, times) |
129 | Go to retry |
133 | out : |
134 | Return error |
Name | Describe |
---|---|
SYSCALL_DEFINE4 |
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 |