Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference

h.eng.cam.ac.uk
from h.eng.cam.ac.uk More from this publisher
12.07.2015 Views

2 Intel Fortran Libraries Referenceend if10 FORMAT (A,Z)end programPXFFPATHCONFPOSIX Subroutine: Gets the value for a configuration option of an opened file.Module: USE IFPOSIXSyntaxCALL PXFFPATHCONF (ifildes, name, ival, ierror)ifildes(Input) INTEGER(4). The file descriptor of the opened file.name(Input) INTEGER(4). The configurable option.ival(Output) INTEGER(4). The value of the configurable option.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.The PXFFPATHCONF subroutine gets a value for the configuration option named for the openedfile with descriptor ifildes.The configuration option, defined in name, can be obtained by using PXFCONST or IPXFCONSTwith one of the following constant names:Constant_PC_LINK_MAX_PC_MAX_CANON 1_PC_MAX_INPUT 1_PC_NAME_MAX_PC_PATH_MAXActionReturns the maximum number of links to the file. If ifildes refers to adirectory, then the value applies to the whole directory.Returns the maximum length of a formatted input line; the filedescriptor ifildes must refer to a terminal.Returns the maximum length of an input line; the file descriptor ifildes mustrefer to a terminal.Returns the maximum length of a filename in ifildes that the process isallowed to create.Returns the maximum length of a relative pathname when ifildes is thecurrent working directory.2-290

Descriptions of the Library Routines 2Constant_PC_PIPE_BUF_PC_CHOWN_RESTRICTED 1_PC_NO_TRUNC 1_PC_VDISABLE 1ActionReturns the size of the pipe buffer; the file descriptor ifildes must refer to apipe or FIFO.Returns nonzero if PXFCHOWN may not be used on this file. If ifildes refersto a directory, then this applies to all files in that directory.Returns nonzero if accessing filenames longer than _POSIX_NAME_MAXwill generate an error.Returns nonzero if special character processing can be disabled; the filedescriptor ifildes must refer to a terminal.1. L*X onlyOn Linux* systems, the corresponding macros are defined in . The values for name canbe obtained by using PXFCONST or IPXFCONST when passing the string names of predefinedmacros in . The following table shows the corresponding macro names for the aboveconstants:Constant_PC_LINK_MAX_PC_MAX_CANON_PC_MAX_INPUT_PC_NAME_MAX_PC_PATH_MAX_PC_PIPE_BUF_PC_CHOWN_RESTRICTED_PC_NO_TRUNC_PC_VDISABLECorresponding Macro_POSIX_LINK_MAX_POSIX_MAX_CANON_POSIX_MAX_INPUT_POSIX_NAME_MAX_POSIX_PATH_MAX_POSIX_PIPE_BUF_POSIX_CHOWN_RESTRICTED_POSIX_NO_TRUNC_POSIX_VDISABLESee Also: “IPXFCONST”, “PXFCONST”, “PXFPATHCONF”PXFFPUTCPOSIX Subroutine: Writes a character to a file.Module: USE IFPOSIXSyntaxCALL PXFFPUTC (lunit, char, ierror)lunit2-291

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>end if10 FORMAT (A,Z)end programPXFFPATHCONFPOSIX Subroutine: Gets the value for a configuration option of an opened file.Module: USE IFPOSIXSyntaxCALL PXFFPATHCONF (ifildes, name, ival, ierror)ifildes(Input) INTEGER(4). The file descriptor of the opened file.name(Input) INTEGER(4). The configurable option.ival(Output) INTEGER(4). The value of the configurable option.ierror(Output) INTEGER(4). The error status.If successful, ierror is set to zero; otherwise, an error code.The PXFFPATHCONF subroutine gets a value for the configuration option named for the openedfile with descriptor ifildes.The configuration option, defined in name, can be obtained by using PXFCONST or IPXFCONSTwith one of the following constant names:Constant_PC_LINK_MAX_PC_MAX_CANON 1_PC_MAX_INPUT 1_PC_NAME_MAX_PC_PATH_MAXActionReturns the maximum number of links to the file. If ifildes refers to adirectory, then the value applies to the whole directory.Returns the maximum length of a formatted input line; the filedescriptor ifildes must refer to a terminal.Returns the maximum length of an input line; the file descriptor ifildes mustrefer to a terminal.Returns the maximum length of a filename in ifildes that the process isallowed to create.Returns the maximum length of a relative pathname when ifildes is thecurrent working directory.2-290

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

Saved successfully!

Ooh no, something went wrong!