Reference Guide

ZCOM C I/F Library Routines
ZCLOS (3X)
Chapter 4 169
PAR AMETER S
RETURN VALUE Routine zclos returns 0 if successful. Otherwise, a non-zero error code is
returned. See /opt/acc/include/zcom/zcomsys.h for the list of ZCOM
error codes and their meanings.
EXAMPLE
#include <zcom/zcomsys.h>
#include <zcom/zcomcall.h>
int32 ierr;
zaddr_type zaddr;
if (ierr = zclos (&zaddr)) {
/* error return code */
}
else {
/* good return code */
}
FILES
SEE ALSO zopen(3X)
async-signal unsafe It cannot be called from a signal handler.
fork unsafe It cannot be called by a child process after
fork(2) but before exec(2).
za
p
ZCOM address to be returned to the system.
/opt/acc/include/zcom/zcomsys.h ZCOM subsystem general include file,
containing data types, data
structures, constants, error codes,
masks, etc. Note that this must be the
first include file before any other
ZCOM include files.
/opt/acc/include/zcom/zcomcall.h ZCOM routine function prototypes
(requires ANSI C compilation).