summaryrefslogtreecommitdiff
path: root/libguile/posix.h
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-11-16 11:06:26 +0000
committerLudovic Courtès <ludo@gnu.org>2022-10-21 17:40:30 +0200
commit9ffd297249e8c99ac276b37c49725f6d2ef20b52 (patch)
treed0974e43939938c106d0976e4db7e616cd3e5af7 /libguile/posix.h
parent30247dc414fb38329f580b1d41abbe202285adbe (diff)
downloadguile-9ffd297249e8c99ac276b37c49725f6d2ef20b52.tar.gz
Allow file ports in ‘utime’.
Ports representing symbolic links are currently unsupported. * configure.ac: Detect 'futimens'. * doc/ref/posix.texi (utime): Update documentation. * libguile/posix.c (scm_utime): Support ports. * libguile/posix.h (scm_utime): Rename argument. * test-suite/tests/posix.test ("utime"): Add more tests. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'libguile/posix.h')
-rw-r--r--libguile/posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/posix.h b/libguile/posix.h
index e62c84afe..6504eaea8 100644
--- a/libguile/posix.h
+++ b/libguile/posix.h
@@ -70,7 +70,7 @@ SCM_API SCM scm_tmpfile (void);
SCM_API SCM scm_open_pipe (SCM pipestr, SCM modes);
SCM_API SCM scm_close_pipe (SCM port);
SCM_API SCM scm_system_star (SCM cmds);
-SCM_API SCM scm_utime (SCM pathname, SCM actime, SCM modtime,
+SCM_API SCM scm_utime (SCM object, SCM actime, SCM modtime,
SCM actimens, SCM modtimens, SCM flags);
SCM_API SCM scm_access (SCM path, SCM how);
SCM_API SCM scm_getpid (void);