Intel® Fortran Compiler 16.0 User and Reference Guide

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 OS X* 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.