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

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.