Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-61
FILE_GETINFOBYNAME_ Procedure
FILE_GETINFOBYNAME_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
OSS Considerations
Example
Related Programming Manuals
Summary
The FILE_GETINFOBYNAME_ procedure obtains a limited set of information about a
file identified by file name.
A related procedure, FILE_GETINFOLISTBYNAME_, obtains detailed information
about a file identified by file name.
Syntax for C Programmers
CEXTDECS (via the included file TNSINTH) defines 32-bit values as the typedef
__int32_t which for TNS and TNS/R compiles is defined as
long and for TNS/E
compiles is defined as
int.
Syntax for TAL Programmers
#include <cextdecs(FILE_GETINFOBYNAME_)>
short FILE_GETINFOBYNAME_ ( const char *filename
,short length
,[ short *type-info ]
,[ short *physical-recordlen ]
,[ short options ]
,[ __int32_t tag-or-timeout ] )
,[ short *flags ] );
error := FILE_GETINFOBYNAME_ ( filename:length ! i:i
,[ type-info ] ! o
,[ physical-recordlen ] ! o
,[ options ] ! i
,[ tag-or-timeout ] ! i
,[ flags ] ); ! o