diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-11-16 11:06:31 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-10-21 17:40:37 +0200 |
commit | 3a0554c60fb12857c67d2eb0bd04cf8c59014f55 (patch) | |
tree | 8ddc86f7fb394840c3a04815c571348ceed908e8 /.x-sc_program_name | |
parent | 24028e75ca6c184051ee9543ceefeefe628c025b (diff) | |
download | guile-3a0554c60fb12857c67d2eb0bd04cf8c59014f55.tar.gz |
Define a Scheme binding to ‘renameat’ when it exists.
* configure.ac: Detect if ‘renameat’ is defined.
* libguile/filesys.c (scm_renameat): Define a Scheme binding
to the ‘renameat’ system call.
* doc/ref/posix.texi (File System): Document it.
* libguile/filesys.h (scm_renameat): Make it part of the C API.
* test-suite/tests/filesys.test ("rename-file-at"): New tests.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to '.x-sc_program_name')
0 files changed, 0 insertions, 0 deletions