Reference Guide

ZCOM C I/F Library Routines
ZLTMG (3X)
Chapter 4244
PAR AMETER S
NOTES In the ZCOM subsystem, a group of logical terminals may be defined to
link to a single physical terminal. This routine allows a logical terminal
to be moved from one terminal group to another, thus all its physical
input/output may be handled by a different physical device.
This call is intended for advanced ZCOM programmers, and
should be used with care.
RETURN VALUE Routine zltmg 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;
zaddr_type nzaddr;
if (ierr = zltmg (&zaddr, &nzaddr)) {
<error return code>
}
else {
<good return code>
}
FILES
zaddr Terminal to be moved
nzaddr A group member of the new group
/opt/acc/include/zcom/zcomsys.h ZCOM system general include file,
containing data types, data
structures, constants, error codes,
masks, etc.
(Note: must be the first include file
before any other ZCOM include files)
/opt/acc/include/zcom/zcomcall.h ZCOM routine function prototypes
(Note: requires ANSI C compilation)