Envoy Application Programming Manual

Table Of Contents
File-System Procedures
Envoy Application Programming Manual427159-001
C-20
FILEINFO
file-name input,output
INT:ref:12
is the name of a 12-word integer variable into which Envoy places the configured
device name of the specified line.
logical-device-number output
INT:ref:1
is the name of a one-word integer variable into which Envoy places the configured
logical device number of the specified line. This parameter is invalid with
filename; use filenum.
device-type output
INT:ref:1
is the name of a one-word integer variable into which Envoy places a value
specifying the configured device type and subtype of the specified line. The format
of the device type variable is listed in Table C-4 (under the DEVICEINFO
procedure).
The next seven parameters are ignored by Envoy. However, if you wish to include
the open-flags parameter in the FILEINFO call, you must precede it either with
eight commas or with seven dummy arguments (separated by commas).
open-flags output
INT:ref:1
if present, is the name of a one-word integer variable into which Envoy places a set
of configuration parameters similar in format to the flags parameter of the OPEN
procedure call. The format of the open-flags variable is as follows:
(MSB) 0 15 (LSB)
0 000 00x 00y yyz zzz
x (bit 6)
specifies whether or not link control blocks have been reserved for this line:
0 = no
1 = yes
yyy (bits 9 to 11)
specify the configured exclusion mode:
000 = shared access
001 = exclusive access
011 = protected