Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-91
FILE_GETINFOLISTBYNAME_ Procedure
FILE_GETINFOLISTBYNAME_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
OSS Considerations
Example
Related Programming Manuals
Summary
The FILE_GETINFOLISTBYNAME_ procedure obtains detailed information about a file
identified by file name.
A related (and simpler to use) procedure, FILE_GETINFOBYNAME_, obtains a limited
set of information about a file identified by file name.
Syntax for C Programmers
Syntax for TAL Programmers
Note. In the TNS/E environment the CEXTDECS file uses the int data type for 32-bit values.
This is a change from the TNS and TNS/R environments where CEXTDECS uses the long
data type for 32-bit values.
#include <cextdecs(FILE_GETINFOLISTBYNAME_)>
short FILE_GETINFOLISTBYNAME_ ( const char *filename
,short length
,short *item-list
,short number-of-items
,short *result
,short result-max
,[ short *result-length ]
,[ short *error-item ] );
error := FILE_GETINFOLISTBYNAME_ ( filename:length ! i:i
,item-list ! i
,number-of-items ! i
,result ! o
,result-max ! i
,[ result-length ] ! o
,[ error-item ] ); ! o