HP Advanced Communications Controllers (ACC) Guide de l'utilisateur Page 288

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 328
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 287
ZCOM C I/F Library Routines
ZPTUP (3X)
Chapter 4288
PAR AMETER S
RETURN VALUE Routine zptup 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;
char ibuf[size]; /* where size is user-determined; must be >= len */
int32 len;
int32 offset;
if (ierr = zptup (&zaddr, ibuf, len, offset)) {
/* error return code */
}
else {
/* good return code */
}
FILES
zap ZCOM address of the physical terminal table to update.
ibuf Data buffer holding the information to place into the PTT.
len Number of bytes of data to copy from ibuf into the PTT.
offse
t
Byte offset within the physical terminal table from where the
update should begin.
/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).
Vue de la page 287
1 2 ... 283 284 285 286 287 288 289 290 291 292 293 ... 327 328

Commentaires sur ces manuels

Pas de commentaire