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>PXFFILENOPOSIX Subroutine: Returns the file descriptor associated with a specified unit.Module: USE IFPOSIXSyntaxCALL PXFFILENO (lunit, fd, ierror)lunit(Input) INTEGER(4). A <strong>Fortran</strong> logical unit.fd(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. Possible error codes are:• EINVAL: lunit is not an open unit.• EBADF: lunit is not connected with a file descriptor.The PXFFILENO subroutine returns in fd the file descriptor associated with lunit.NOTE. On Windows* systems, the default value of the POSIX/IO flag is 0,which prevents OPEN from connecting a unit to a file descriptor and causesPXFFILENO to return an error..To prevent this, call subroutine PXFPOSIXIO and set the value of thePOSIX/IO flag to 1. This setting allows a connection to a file descriptor.CompatibilityPXFFORKCONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIBPOSIX Subroutine: Creates a child process that differs from the parent process only in its PID.This subroutine is only available on Linux* systems.Module: USE IFPOSIXSyntaxCALL PXFFORK (ipid, ierror)2-288

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

Saved successfully!

Ooh no, something went wrong!