File: utimens.h

package info (click to toggle)
tar 1.23-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 13,692 kB
  • ctags: 6,543
  • sloc: sh: 34,528; ansic: 18,520; yacc: 1,219; makefile: 301; sed: 16
file content (21 lines) | stat: -rw-r--r-- 726 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* -*- buffer-read-only: t -*- vi: set ro: */
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
#include <time.h>
int fdutimens (char const *, int, struct timespec const [2]);
int gl_futimens (int, char const *, struct timespec const [2]);
int utimens (char const *, struct timespec const [2]);
int lutimens (char const *, struct timespec const [2]);

#if GNULIB_FDUTIMENSAT
# include <fcntl.h>
# include <sys/stat.h>

int fdutimensat (int dir, char const *name, int fd, struct timespec const [2]);

/* Using this function makes application code slightly more readable.  */
static inline int
lutimensat (int fd, char const *file, struct timespec const times[2])
{
  return utimensat (fd, file, times, AT_SYMLINK_NOFOLLOW);
}
#endif