12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>ireadfd(Output) INTEGER(4). The file descriptor for reading.iwritefd(Output) INTEGER(4). The file descriptor for writing.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code. The PXFPIPE subroutine returns a pairof file descriptors, pointing to a pipe inode, and places them into ireadfd for reading and intoiwritefd for writing.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBPXFPOSIXIOPOSIX Subroutine: Sets the current value of the POSIX I/O flag.Module: USE IFPOSIXSyntaxCALL PXFPOSIXIO (new, old, ierror)new(Input) INTEGER(4). The new value for the POSIX I/O flag.old(Output) INTEGER(4). The previous value of the POSIX I/O flag.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.This subroutine sets the current value of the <strong>Fortran</strong> POSIX I/O flag and returns the previous valueof the flag. The initial state of the POSIX I/O flag is unspecified.If a file is opened with a <strong>Fortran</strong> OPEN statement when the value of the POSIX I/O flag is 1, theunit is accessed as if the records are newline delimited, even if the file does not contain recordsthat are delimited by a new line character.If a file is opened with a <strong>Fortran</strong> OPEN statement when the value of the POSIX I/O flag is zero, aconnection to a file descriptor is not assumed and the records in the file are not required to beaccessed as if they are newline delimited.2-320

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

Saved successfully!

Ooh no, something went wrong!