12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>(Input) INTEGER(4). A <strong>Fortran</strong> logical unit.char(Input) Character. The character to be written.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code. A possible error code is EEND if theend of the file has been reached.The PXFFPUTC subroutine writes a character to the file connected to unit lunit.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “PXFFGETC”PXFFSEEKPOSIX Subroutine: Modifies a file position.Module: USE IFPOSIXSyntaxCALL PXFFSEEK (lunit, ioffset, iwhence, ierror)lunit(Input) INTEGER(4). A <strong>Fortran</strong> logical unit.ioffset(Input) INTEGER(4). The number of bytes away from iwhence to place the pointer.iwhence(Input) INTEGER(4). The position within the file. The value must be one of the followingconstants (defined in stdio.h):• SEEK_SET = 0Offset from the beginning of the file.• SEEK_CUR = 1Offset from the current position of the file pointer.• SEEK_END = 2Offset from the end of the file.ierror(Output) INTEGER(4). The error status.2-292

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

Saved successfully!

Ooh no, something went wrong!