Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-102
FILE_GETOPENINFO_ Procedure
FILE_GETOPENINFO_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Summary
The FILE_GETOPENINFO_ procedure obtains information about the opens of one
disk file or all the files on a disk device, or the opens of certain nondisk devices. Each
call returns information about one open; make successive calls to
FILE_GETOPENINFO_ to learn about all the opens.
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
filenamelen. All three of these parameters must either be supplied or be
absent.
#include <cextdecs(FILE_GETOPENINFO_)>
short FILE_GETOPENINFO_ ( const char *searchname
,short length
,long long *prevtag
,[ short *primary-opener ]
,[ short *backup-opener ]
,[ short *accessmode ]
,[ short *exclusion ]
,[ short *syncdepth ]
,[ char *filename ]
,[ short maxlen ]
,[ short *filenamelen ]
,[ short *accessid ]
,[ short *validmask ] );