Guardian Programming Reference Summary for C
Functions Summary (D-F)
Guardian Programming Reference Summary for C—522630-001
5-32
FILE_GETOPENINFO_
Obtains information about the opens of one disk file or all the files on a disk device, or
the opens of certain nondisk devices.
accessmode
exclusion
validmask
#include <cextdecs(FILE_GETOPENINFO_)>
short FILE_GETOPENINFO_ ( const char *searchname /* i */
,short length /* i */
,long long *prevtag /* i,o */
,[ short *primary-opener ] /* o */
,[ short *backup-opener ] /* o */
,[ short *accessmode ] /* i,o */
,[ short *exclusion ] /* o */
,[ short *syncdepth ] /* o */
,[ char *filename ] /* o */
,[ short maxlen ] /* i */
,[ short *filenamelen ] /* o */
,[ short *accessid ] /* o */
,[ short *validmask ] ); /* o */
0 = Read-write
1 = Read only
2 = Write only
0 = Shared
1 = Exclusive
2 = Process exclusive (supported only for Optical Storage Facility)
3 = Protected
Bit 0 = Primary-opener
Bit 1 = Backup-opener
Bit 2 = Accessmode
Bit 3 = Exclusion
Bit 4 = Syncdepth
Bit 5 = Filename
Bit 6 = Accessid