12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>path(Input) Character. The path for the new FIFO.ilen(Input) INTEGER(4). The length of path string.imode(Input) INTEGER(4). The mode mask; specifies the FIFO's permissions. Octal file-access mode.ierror(Output) INTEGER(4). The error status.If successful ierror is set to zero; otherwise, an error code.The PXFMKFIFO subroutine creates a FIFO special file with name path. A FIFO special file issimilar to a pipe, except that it is created in a different way. Once a FIFO special file is created,any process can open it for reading or writing in the same way as an ordinary file.However, the FIFO file has to be open at both ends simultaneously before you can proceed to doany input or output operations on it. Opening a FIFO for reading normally blocks it until someother process opens the same FIFO for writing, and vice versa.See Also: “PXFISFIFO”PXFOPENPOSIX Subroutine: Opens or creates a file.Module: USE IFPOSIXSyntaxCALL PXFOPEN (path, ilen, iopenflag, imode, ifildes, ierror)path(Input) Character. The path of the file to be opened or created.ilen(Input) INTEGER(4). The length of path string.iopenflag(Input) INTEGER(4). The flags for the file. (For possible constant names that can be passed toPXFCONST or IPXFCONST, see below.)imode(Input) INTEGER(4). The permissions for a new file. This argument should always be specifiedwhen iopenflag = O_CREAT; otherwise, it is ignored. (For possible permissions, see below.)2-314

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

Saved successfully!

Ooh no, something went wrong!