diff options
Diffstat (limited to 'doc/ref')
-rw-r--r-- | doc/ref/posix.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi index 93bb4d459..85da56ca8 100644 --- a/doc/ref/posix.texi +++ b/doc/ref/posix.texi @@ -895,6 +895,15 @@ Renames the file specified by @var{oldname} to @var{newname}. The return value is unspecified. @end deffn +@findex renameat +@deffn {Scheme Procedure} rename-file-at olddir oldname newdir newname +@deffnx {C Function} scm_renameat (olddir, oldname, newdir, newname) +Like @code{rename-file}, but when @var{olddir} or @var{newdir} is true, +resolve @var{oldname} or @var{newname} relative to the directory +specified by the file port @var{olddir} or @var{newdir} instead of the +current working directory. +@end deffn + @deffn {Scheme Procedure} link oldpath newpath @deffnx {C Function} scm_link (oldpath, newpath) Creates a new name @var{newpath} in the file system for the |