Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

PXFRENAME

POSIX Subroutine: Changes the name of a file.

Module

USE IFPOSIX

CALL PXFRENAME (old,lenold,new,lennew,ierror)

old

(Input) Character. The name of the file to be renamed.

lenold

(Input) INTEGER(4). The length of old string.

new

(Input) Character. The new file name.

lennew

(Input) INTEGER(4). The length of new string.

ierror

(Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.