rename.3f
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3F 代码 · 共 42 行
3F
42 行
.\" SCCSID: @(#)rename.3f 8.1 9/11/90.TH rename 3f VAX "" Unsupported.SH Namerename \- rename a file.SH Syntax.B integer function rename (from, to).br.B character*(*) from, to.SH Description.NXR "rename subroutine (FORTRAN)".NXR "file" "renaming"The .PN renamesubroutine renames a file.The.I fromargument must be the pathname of an existing file, and.I towill become the new pathname for the file.If.I toexists, then both.I fromand.I tomust be the same type of file, and must reside on the same filesystem.If.I toexists, it will be removed first..SH RestrictionsPathnames can be no longer than MAXPATHLEN as defined in<sys/param.h>..SH Return ValuesThe returned value will be 0 if successful and a system error code otherwise..SH Files.ie \nM /usr/ucb/lib/libU77.a.el /usr/lib/libU77.a.SH See Alsorename(2), perror(3f)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?