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>SyntaxCALL PXFCTERMID (s, ilen, ierror)s(Output) Character. The returned pathname of the terminal.ilen(Output) INTEGER(4). The length of the returned value in the s string.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.This subroutine returns a string that refers to the current controlling terminal for the currentprocess.PXFDUP, PXFDUP2POSIX Subroutine: Duplicates an existing file descriptor.Module: USE IFPOSIXSyntaxCALL PXFDUP (ifildes, ifid, ierror)CALL PXFDUP2 (ifildes, ifildes2, ierror)ifildes(Input) INTEGER(4). The file descriptor to duplicate.ifid(Output) INTEGER(4). The returned new duplicated file descriptor.ifildes2(Output) INTEGER(4). The number for the new file descriptor.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.The PXFDUP subroutine creates a second file descriptor for an opened file.The PXFDUP2 subroutine copies the file descriptor associated with ifildes. Integer numberifildes2 becomes associated with this new file descriptor, but the value of ifildes2 is not changed.2-278

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

Saved successfully!

Ooh no, something went wrong!