This source file includes following definitions.
- lutimensat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 #include <time.h>
21 int fdutimens (int, char const *, struct timespec const [2]);
22 int utimens (char const *, struct timespec const [2]);
23 int lutimens (char const *, struct timespec const [2]);
24
25 #if GNULIB_FDUTIMENSAT
26 # include <fcntl.h>
27 # include <sys/stat.h>
28
29 #ifndef _GL_INLINE_HEADER_BEGIN
30 #error "Please include config.h first."
31 #endif
32 _GL_INLINE_HEADER_BEGIN
33 #ifndef _GL_UTIMENS_INLINE
34 # define _GL_UTIMENS_INLINE _GL_INLINE
35 #endif
36
37 int fdutimensat (int fd, int dir, char const *name, struct timespec const [2],
38 int atflag);
39
40
41 _GL_UTIMENS_INLINE int
42 lutimensat (int dir, char const *file, struct timespec const times[2])
43 {
44 return utimensat (dir, file, times, AT_SYMLINK_NOFOLLOW);
45 }
46
47 _GL_INLINE_HEADER_END
48
49 #endif