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.

Descriptions of the Library Routines 2STATPortability Function: Returns detailed information about a file.Module: USE IFPORTSyntaxresult = STAT (name, statb)name(Input) Character*(*). Name of the file to examine.statb(Output) INTEGER(4) or INTEGER(8). One-dimensional array of size 12; where the systeminformation is stored. The elements of statb contain the following values:Element Description Values or Notesstatb(1) Device the file resides on W*32, W*64: Always 0L*X: System dependentstatb(2) File inode number W*32, W*64: Always 0L*X: System dependentstatb(3) Access mode of the file See the table in Resultsstatb(4) Number of hard links to the file W*32, W*64: Always 1L*X: System dependentstatb(5) User ID of owner W*32, W*64: Always 1L*X: System dependentstatb(6) Group ID of owner W*32, W*64: Always 1L*X: System dependentstatb(7) Raw device the file resides on W*32, W*64: Always 0L*X: System dependentstatb(8) Size of the filestatb(9) Time when the file was last accessed 1W*32, W*64: Only available onnon-FAT file systems; undefined onFAT systemsL*X: System dependentstatb(10) Time when the file was last modified 1statb(11) Time of last file status change 1 W*32, W*64: Same as stat(10)L*X: System dependentstatb(12) Blocksize for file system I/O operations W*32, W*64: Always 1L*X: System dependent1. Times are in the same format returned by the TIME function (number of seconds since 00:00:00 Greenwich mean time, January 1, 1970).2-475

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

Saved successfully!

Ooh no, something went wrong!