]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MINICERN/packlib/kernlib/kerngen/ccgen/statf.F
This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / MINICERN / packlib / kernlib / kerngen / ccgen / statf.F
CommitLineData
fe4da5cc 1*
2* $Id$
3*
4* $Log$
5* Revision 1.3 1997/09/02 14:26:39 mclareni
6* WINNT correction
7*
8* Revision 1.2 1997/02/04 17:34:44 mclareni
9* Merge Winnt and 97a versions
10*
11* Revision 1.1.1.1.2.1 1997/01/21 11:29:44 mclareni
12* All mods for Winnt 96a on winnt branch
13*
14* Revision 1.1.1.1 1996/02/15 17:49:27 mclareni
15* Kernlib
16*
17*
18#include "kerngen/pilot.h"
19 INTEGER FUNCTION STATF (NAME, INFO)
20C
21C CERN PROGLIB# Z265 STATF .VERSION KERNFOR 4.37 930715
22C ORIG. 14/03/91, RDM
23C Fortran interface routine to stat
24C
25C NAME the name of the file of which information is required
26C INFO(12) buffer returning the information about "file"
27C
28C A succesfull call returns 0. A failed call returns -1.
29C
30 CHARACTER*(*) NAME
31 INTEGER INFO(12), STATI
32
33 LGN = LNBLNK (NAME)
34
35#if defined(CERNLIB_QMVAX)
36 STATF = STATI (%REF(NAME), INFO, LGN)
37#endif
38#if !defined(CERNLIB_QMVAX)
39 STATF = STATI (NAME, INFO, LGN)
40#endif
41
42 RETURN
43 END