Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference

h.eng.cam.ac.uk
from h.eng.cam.ac.uk More from this publisher
12.07.2015 Views

2 Intel Fortran Libraries ReferenceConstantF_SETLKWActionSets or clears a lock, but causes the process to wait if the lock is busy. Argumentiargin must be a handle of structure flock. The lock is set or cleared according tothe value of structure field l_type. If the lock is busy, PXFCNTL waits for an unlock.NOTE. To get a handle for an instance of the flock structure, usePXFSTRUCTCREATE with the string 'flock' for the structure name.See Also: “PXFSTRUCTCREATE”, “IPXFCONST”, “PXFCONST”PXFCONSTPOSIX Subroutine: Returns the value associated with a constant.Module: USE IFPOSIXSyntaxCALL PXFCONST (constname, ival, ierror)constname(Input) Character. The name of one of the following constants:• STDIN_UNIT• STDOUT_UNIT• STDERR_UNIT• EINVAL• ENONAME• ENOHANDLE• EARRAYLENThe constants beginning with E signify various error values for the system variable errno.ival(Output) INTEGER(4). The returned value of the constant.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.2-276

Descriptions of the Library Routines 2For more information on these constants, see your Microsoft Visual C++ documentation(Windows* systems) or the errno.h file (Linux* systems).CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “PXFISCONST”PXFCREATPOSIX Subroutine: Creates a new file or rewrites an existing file.Module: USE IFPOSIXSyntaxCALL 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 yourMicrosoft* Visual C++ documentation for permitted mode values. On Linux* systems, use octalfile-access mode.ifildes(Output) INTEGER(4). The file descriptor.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBPXFCTERMIDPOSIX Subroutine: Generates a terminal pathname. This subroutine is only available on Linux*systems.Module: USE IFPOSIX2-277

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>ConstantF_SETLKWActionSets or clears a lock, but causes the process to wait if the lock is busy. Argumentiargin must be a handle of structure flock. The lock is set or cleared according tothe value of structure field l_type. If the lock is busy, PXFCNTL waits for an unlock.NOTE. To get a handle for an instance of the flock structure, usePXFSTRUCTCREATE with the string 'flock' for the structure name.See Also: “PXFSTRUCTCREATE”, “IPXFCONST”, “PXFCONST”PXFCONSTPOSIX Subroutine: Returns the value associated with a constant.Module: USE IFPOSIXSyntaxCALL PXFCONST (constname, ival, ierror)constname(Input) Character. The name of one of the following constants:• STDIN_UNIT• STDOUT_UNIT• STDERR_UNIT• EINVAL• ENONAME• ENOHANDLE• EARRAYLENThe constants beginning with E signify various error values for the system variable errno.ival(Output) INTEGER(4). The returned value of the constant.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.2-276

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!