RENAME
— Rename a fileCHAR(0)
) can be used to mark the end of the names in PATH1 and PATH2; otherwise, trailing blanks in the file names are ignored. If the STATUS argument is supplied, it contains 0 on success or a nonzero error code upon return; see rename(2)
. This intrinsic is provided in both subroutine and function forms; however, only one form can be used in any given program unit.
CALL RENAME(PATH1, PATH2 [, STATUS]) |
STATUS = RENAME(PATH1, PATH2) |
PATH1 | Shall be of default CHARACTER type. |
PATH2 | Shall be of default CHARACTER type. |
STATUS | (Optional) Shall be of default INTEGER type. |
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-4.9.3/gfortran/RENAME.html