HP Advanced Communications Controllers (ACC) manual Error codes and their meanings

Models: Advanced Communications Controllers (ACC)

1 328
Download 328 pages 30.05 Kb
Page 244
Image 244

ZCOM C I/F Library Routines

ZLTMG (3X)

PARAMETERS

 

zaddr

 

Terminal to be moved

 

nzaddr A group member of the new group

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-zeroerror 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

/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)

244

Chapter 4

Page 244
Image 244
HP Advanced Communications Controllers (ACC) manual Error codes and their meanings