Intel® Fortran Compiler 18.0 Developer Guide and Reference

PXFCREAT

POSIX Subroutine: Creates a new file or rewrites an existing file.

Module

USE IFPOSIX

CALL PXFCREAT (path,ilen,imode,ifildes,ierror)

path

(Input) Character. The pathname of the file.

ilen

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

imode

(Input) INTEGER(4). The mode of the newly created file. On Windows* systems, see your Microsoft* Visual C++ documentation for permitted mode values. On Linux* and macOS* systems, use octal file-access mode.

ifildes

(Output) INTEGER(4). The returned file descriptor.

ierror

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

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