diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-11-16 11:06:26 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-10-21 17:40:30 +0200 |
commit | 9ffd297249e8c99ac276b37c49725f6d2ef20b52 (patch) | |
tree | d0974e43939938c106d0976e4db7e616cd3e5af7 /libguile/posix.h | |
parent | 30247dc414fb38329f580b1d41abbe202285adbe (diff) | |
download | guile-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.h | 2 |
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); |