Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual—522629-013
5-22
FILE_COMPLETE_ Procedure
Structure Definition for completion-info
The completion-info parameter is a structure that contains completion information
for the Guardian file that was completed or the OSS file that is ready.
The structure for the
completion-info parameter is defined in the ZSYS* files. In
the TAL ZSYSTAL file, it is defined as:
In the C ZSYSC file, the structure for the
completion_info parameter is defined as:
Z^FILETYPE
returns the file type of the file that was completed by this call. This field can have
the following values:
STRUCT ZSYS^DDL^COMPLETION^INFO^DEF (*);
BEGIN
INT Z^FILETYPE;
INT(32) Z^ERROR;
INT(32) Z^FNUM^FD;
STRUCT Z^RETURN^VALUE;
BEGIN
BIT_FILLER 15;
BIT_FILLER 1;
BIT_FILLER 13;
UNSIGNED(1) Z^READ^READY;
UNSIGNED(1) Z^WRITE^READY;
UNSIGNED(1) Z^EXCEPTION;
END;
INT(32) Z^COMPLETION^TYPE = Z^RETURN^VALUE;
INT(32) Z^COUNT^TRANSFERRED = Z^RETURN^VALUE;
INT(32) Z^TAG;
END;
typedef struct __zsys_ddl_completion_info {
short z_filetype;
long z_error;
long z_fnum_fd;
union {
struct {
short filler_0:15;
unsigned short filler_1:1;
short filler_2:13;
unsigned short z_read_ready:1;
unsigned short z_write_ready:1;
unsigned short z_exception:1;
} z_return_value;
unsigned long z_completion_type;
long z_count_transferred;
} u_z_return_value;
long z_tag;
} zsys_ddl_completion_info_def;