Guardian Programming Reference Summary for C

Functions Summary (O-Q)
Guardian Programming Reference Summary for C522630-001
7-5
return value
OPENER_LOST_
Examines a system message and searches an open table to determine if an opener has
been lost.
status
-1 = Page-count value is inconsistent.
-2 = Page-table tags are out of order.
-3 = Page-table tag is outside legal range.
-4 = Page-table block number is outside of file.
-5 = Page-table has duplicate block numbers.
11 = File does not exist; indicates that the file does not exist and that the flags
parameter indicates read-only access to the file.
14 = Device does not exist; indicates that the device-name part of the file name
designates a device that either does not exist or is not a disk device.
16 = File has not been opened, wrong file type; indicates that the file is not an
EDIT file (that is, the file type is not unstructured or the file code is not 101 or
102).
31 = Unable to obtain buffer space; indicates that the file’s directory does not fit
into IOEdit’s extended data segment and OPENEDIT is unable to enlarge the
segment.
34 = Unable to obtain memory space for control block; indicates that the number of
IOEdit files already open is equal to the maximum number specified or
assumed when INITIALIZEEDIT was called.
59 = File is bad; indicates that the file exists and has the correct file type and file
code for an EDIT file, but the data in the file has an incorrect format and
OPENEDIT is unable to repair it.
#include <cextdecs(OPENER_LOST_)>
short OPENER_LOST_ ( char *message /* i */
,short length /* i */
,short *table /* i */
,short *index /* i,o */
,short number-of-entries /* i */
,short entry-size ); /* i */
0 = Search completed; no lost openers
1 = (reserved)
2 = Parameter error