Envoy Application Programming Manual

Table Of Contents
File-System Procedures
Envoy Application Programming Manual427159-001
C-19
FILEINFO
$LINE3 is configured as a TINET multipoint supervisor, then dev^type contains the
following value of %711:
MSB LSB
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
. . . . . . . . . . . . . . . .
0 0 0 0 0 0 0 1 1 1 0 0 1 0 0 1
\ _ _ _ _ / \ _ _ _ _ /
7 9
If $LINE3 is configured with an intermediate block size of 100, then
phys^rec^length contains the decimal value “100.
FILEINFO
A call to the FILEINFO procedure returns error and configuration information for an
opened line.
The form of the FILEINFO procedure is:
filenum input
INT:value
is the number returned by the OPEN call that opened the line. In a FILEINFO call,
this is a variable you supply to Envoy. As an alternative, you can supply the value -1
to request the error code associated with the most recent line open failure.
error output
INT:ref:1
returns the error number associated with the operation most recently completed on
the specified line. The applicable error codes vary from one protocol to another. The
error codes are summarized in Appendix D of this manual.
CALL FILEINFO ( [ filenum] !i
,[ error] !o
,[ file-name] !i,o
,[ logical-device-number] !o
,[ device-type] !o
,
,
,
,
,
,
,
,[ open-flags]); !o