summaryrefslogtreecommitdiff
path: root/lib/fdutimensat.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-01-09 11:55:22 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2017-01-09 11:58:08 -0800
commite89646ad6f767a475ac83b31ffc00ba17372964c (patch)
tree880a78cef6e2b3ee5f777915b1c39a0206898a33 /lib/fdutimensat.c
parent8d98f32d60bb9ed073a18b5bcceab56ffe0cd990 (diff)
downloadgnulib-e89646ad6f767a475ac83b31ffc00ba17372964c.tar.gz
maint: time stamp -> timestamp
Use the spelling "timestamp", as that is what POSIX uses.
Diffstat (limited to 'lib/fdutimensat.c')
-rw-r--r--lib/fdutimensat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fdutimensat.c b/lib/fdutimensat.c
index 1475bb049d..ff68490a2f 100644
--- a/lib/fdutimensat.c
+++ b/lib/fdutimensat.c
@@ -27,14 +27,14 @@
#include <fcntl.h>
#include <sys/stat.h>
-/* Set the access and modification time stamps of FD (a.k.a. FILE) to be
+/* Set the access and modification timestamps of FD (a.k.a. FILE) to be
TIMESPEC[0] and TIMESPEC[1], respectively; relative to directory DIR.
FD must be either negative -- in which case it is ignored --
or a file descriptor that is open on FILE.
If FD is nonnegative, then FILE can be NULL, which means
use just futimes (or equivalent) instead of utimes (or equivalent),
and fail if on an old system without futimes (or equivalent).
- If TIMESPEC is null, set the time stamps to the current time.
+ If TIMESPEC is null, set the timestamps to the current time.
ATFLAG is passed to utimensat if FD is negative or futimens was
unsupported, which can allow operation on FILE as a symlink.
Return 0 on success, -1 (setting errno) on failure. */