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
21 #if !_GL_CONFIG_H_INCLUDED
22 #error "Please include config.h first."
23 #endif
24
25 #include <time.h>
26 int fdutimens (int, char const *, struct timespec const [2]);
27 int utimens (char const *, struct timespec const [2]);
28 int lutimens (char const *, struct timespec const [2]);
29
30 #if GNULIB_FDUTIMENSAT
31 # include <fcntl.h>
32 # include <sys/stat.h>
33
34 _GL_INLINE_HEADER_BEGIN
35 #ifndef _GL_UTIMENS_INLINE
36 # define _GL_UTIMENS_INLINE _GL_INLINE
37 #endif
38
39 int fdutimensat (int fd, int dir, char const *name, struct timespec const [2],
40 int atflag);
41
42
43 _GL_UTIMENS_INLINE int
44 lutimensat (int dir, char const *file, struct timespec const times[2])
45 {
46 return utimensat (dir, file, times, AT_SYMLINK_NOFOLLOW);
47 }
48
49 _GL_INLINE_HEADER_END
50
51 #endif