Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
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* 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.