Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-57
FILE_GETINFO_ Procedure
FILE_GETINFO_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
OSS Considerations
Example
Related Programming Manuals
Summary
The FILE_GETINFO_ procedure obtains a limited set of information about a file
identified by file number.
A related procedure, FILE_GETINFOLIST_, obtains detailed information about a file
identified by file number.
Syntax for C Programmers
•
The parameter maxlen specifies the maximum length in bytes of the character
string pointed to by
filename, the actual length of which is returned by
filename-length. All three of these parameters must either be supplied or be
absent.
Syntax for TAL Programmers
#include <cextdecs(FILE_GETINFO_)>
short FILE_GETINFO_ ( short filenum
,[ short *last-error ]
,[ char *filename ]
,[ short maxlen ]
,[ short *filename-length ]
,[ short *type-info ]
,[ short *flags ] );
error := FILE_GETINFO_ ( filenum ! i
,[ last-error ] ! o
,[ filename:maxlen ] ! o:i
,[ filename-length ] ! o
,[ type-info ] ! o
,[ flags ] ); ! o