Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual522629-013
3-19
CHECK^FILE Procedure
FILE^BREAKHIT Any 0 if the break hit bit is equal to 0 in the
FCB.
1 if the break hit bit is equal to 1 in the
FCB.
The break hit bit is an internal indicator
normally used only by the SIO procedures.
Note:
When using the break-handling
procedures, do not use FILE^BREAKHIT to
determine whether the BREAK key has
been pressed. Instead, the
CHECK^BREAK procedure must be called.
FILE^CHECKSUM Any Returns the value of the checksum word in
the FCB.
FILE^COUNTXFERRED Open Returns a count of the number of bytes
transferred in the latest physical I/O
operation.
FILE^CREATED Open 0 if a file was not created by OPEN^FILE.
1 if a file was created by OPEN^FILE.
FILE^CRLF^BREAK Open 0 if no CR/LF sequence is to be issued to
the terminal upon break detection.
1 if this sequence is to be issued.
FILE^EDITLINE^INCREMENT Open Returns the EDIT line increment to be
added to successive line numbers for lines
that are added to the file. The value is
1000 times the line number increment
value.
FILE^ERROR Any Returns the error number of the latest error
that occurred within the file.
FILE^FILEFORMAT Open Returns the file format type. Returns 1 for
format 1 files and 2 for format 2 files.
Table 3-2. CHECK^FILE Operations That Return Values (page 2 of 5)
operation
State
of File
retval