Intel® Fortran Libraries Reference
Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference
2 Intel Fortran Libraries ReferenceSyntaxCALL PXFFDOPEN (ifildes, iunit, access, ierror)ifildes(Input) INTEGER(4). The file descriptor of the opened file.iunit(Input) INTEGER(4). The Fortran logical unit to connect to file descriptor ifildes.access(Input) Character. A character string that specifies the attributes for the Fortran unit. The stringmust consist of one or more of the following keyword/value pairs. Keyword/value pairs should beseparated by a comma, and blanks are ignored.Keyword Possible Values Description Default'NEWLINE' 'YES' or 'NO' I/O type 'YES''BLANK' 'NULL' or 'ZERO' Interpretation of blanks 'NULL''STATUS' 'OLD', 'SCRATCH', or 'UNKNOWN' File status at open 'UNKNOWN''FORM' 'FORMATTED' or 'UNFORMATTED' Format type 'FORMATTED'Keywords should be separated from their values by the equals ('=') character; for example:call PXFDOPEN (IFILDES, IUNIT, 'BLANK=NULL, STATUS=UNKNOWN', IERROR)ierror(Output) INTEGER(4). The error status.The PXFFDOPEN subroutine connects an external unit identified by iunit to a file descriptorifildes. If the unit is already connected to a file, the file should be closed before usingPXFFDOPEN.NOTE. On Windows* systems, the default value of the POSIX/IO flag is 0,which causes PXFFDOPEN to return an error.To prevent this, call subroutine PXFPOSIXIO and set the value of thePOSIX/IO flag to 1.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB2-286
Descriptions of the Library Routines 2PXFFFLUSHPOSIX Subroutine: Flushes a file directly to disk.Module: USE IFPOSIXSyntaxCALL PXFFFLUSH (lunit, ierror)lunit(Input) INTEGER(4). A Fortran logical unit.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.The PXFFFLUSH subroutine writes any buffered output to the file connected to unit lunit.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBPXFFGETCPOSIX Subroutine: Reads a character from a file.Module: USE IFPOSIXSyntaxCALL PXFFGETC (lunit, char, ierror)lunit(Input) INTEGER(4). A Fortran logical unit.char(Input) Character. The character to be read.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.The PXFFGETC subroutine reads a character from a file connected to unit lunit.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “PXFFPUTC”2-287
- Page 288 and 289: 2 Intel Fortran Libraries Reference
- Page 290 and 291: 2 Intel Fortran Libraries Reference
- Page 292 and 293: 2 Intel Fortran Libraries Reference
- Page 294 and 295: 2 Intel Fortran Libraries Reference
- Page 296 and 297: 2 Intel Fortran Libraries Reference
- Page 298 and 299: 2 Intel Fortran Libraries Reference
- Page 300 and 301: 2 Intel Fortran Libraries Reference
- Page 302 and 303: 2 Intel Fortran Libraries Reference
- Page 304 and 305: 2 Intel Fortran Libraries Reference
- Page 306 and 307: 2 Intel Fortran Libraries Reference
- Page 308 and 309: 2 Intel Fortran Libraries Reference
- Page 310 and 311: 2 Intel Fortran Libraries Reference
- Page 312 and 313: 2 Intel Fortran Libraries Reference
- Page 314 and 315: 2 Intel Fortran Libraries Reference
- Page 316 and 317: 2 Intel Fortran Libraries Reference
- Page 318 and 319: 2 Intel Fortran Libraries Reference
- Page 320 and 321: 2 Intel Fortran Libraries Reference
- Page 322 and 323: 2 Intel Fortran Libraries Reference
- Page 324 and 325: 2 Intel Fortran Libraries Reference
- Page 326 and 327: 2 Intel Fortran Libraries Reference
- Page 328 and 329: 2 Intel Fortran Libraries Reference
- Page 330 and 331: 2 Intel Fortran Libraries Reference
- Page 332 and 333: 2 Intel Fortran Libraries Reference
- Page 334 and 335: 2 Intel Fortran Libraries Reference
- Page 336 and 337: 2 Intel Fortran Libraries Reference
- Page 340 and 341: 2 Intel Fortran Libraries Reference
- Page 342 and 343: 2 Intel Fortran Libraries Reference
- Page 344 and 345: 2 Intel Fortran Libraries Reference
- Page 346 and 347: 2 Intel Fortran Libraries Reference
- Page 348 and 349: 2 Intel Fortran Libraries Reference
- Page 350 and 351: 2 Intel Fortran Libraries Reference
- Page 352 and 353: 2 Intel Fortran Libraries Reference
- Page 354 and 355: 2 Intel Fortran Libraries Reference
- Page 356 and 357: 2 Intel Fortran Libraries Reference
- Page 358 and 359: 2 Intel Fortran Libraries Reference
- Page 360 and 361: 2 Intel Fortran Libraries Reference
- Page 362 and 363: 2 Intel Fortran Libraries Reference
- Page 364 and 365: 2 Intel Fortran Libraries Reference
- Page 366 and 367: 2 Intel Fortran Libraries Reference
- Page 368 and 369: 2 Intel Fortran Libraries Reference
- Page 370 and 371: 2 Intel Fortran Libraries Reference
- Page 372 and 373: 2 Intel Fortran Libraries Reference
- Page 374 and 375: 2 Intel Fortran Libraries Reference
- Page 376 and 377: 2 Intel Fortran Libraries Reference
- Page 378 and 379: 2 Intel Fortran Libraries Reference
- Page 380 and 381: 2 Intel Fortran Libraries Reference
- Page 382 and 383: 2 Intel Fortran Libraries Reference
- Page 384 and 385: 2 Intel Fortran Libraries Reference
- Page 386 and 387: 2 Intel Fortran Libraries Reference
Descriptions of the Library Routines 2PXFFFLUSHPOSIX Subroutine: Flushes a file directly to disk.Module: USE IFPOSIXSyntaxCALL PXFFFLUSH (lunit, ierror)lunit(Input) INTEGER(4). A <strong>Fortran</strong> logical unit.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.The PXFFFLUSH subroutine writes any buffered output to the file connected to unit lunit.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBPXFFGETCPOSIX Subroutine: Reads a character from a file.Module: USE IFPOSIXSyntaxCALL PXFFGETC (lunit, char, ierror)lunit(Input) INTEGER(4). A <strong>Fortran</strong> logical unit.char(Input) Character. The character to be read.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.The PXFFGETC subroutine reads a character from a file connected to unit lunit.CompatibilityCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBSee Also: “PXFFPUTC”2-287