summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-09-23 16:39:42 +0200
committerLudovic Courtès <ludo@gnu.org>2018-09-23 16:41:13 +0200
commit3ee7673cc98d2acca3144a81bfbe1351b2bbe0fd (patch)
tree9d775d2874724e742c12fc2b914ecbc2a294abd7 /doc
parent663b8826d7867578f8df509a5f986c671f857938 (diff)
Define AT_SYMLINK_NOFOLLOW et al.
* libguile/posix.c (scm_init_posix): Define AT_SYMLINK_NOFOLLOW, AT_SYMLINK_FOLLOW, AT_NO_AUTOMOUNT, and AT_EMPTY_PATH when available. (scm_utime): Mention AT_SYMLINK_NOFOLLOW. * doc/ref/posix.texi (File System): Update accordingly. * test-suite/tests/posix.test ("utime")["AT_SYMLINK_NOFOLLOW"]: New test.
Diffstat (limited to 'doc')
-rw-r--r--doc/ref/posix.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi
index 5cb68a292..1470e5f36 100644
--- a/doc/ref/posix.texi
+++ b/doc/ref/posix.texi
@@ -801,6 +801,11 @@ systems.
@end lisp
will set the access time to one hour in the past and the
modification time to the current time.
+
+@vindex AT_SYMLINK_NOFOLLOW
+Last, @var{flags} may be either @code{0} or the
+@code{AT_SYMLINK_NOFOLLOW} constant, to set the time of
+@var{pathname} even if it is a symbolic link.
@end deffn
@findex unlink