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

  • 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 241
ZCOM C I/F Library Routines
ZINIT (3X)
Chapter 4242
4. In a multi-threaded application, if this routine is called the second
time by a thread while some ZCOM APIs are in-progress in the other
threads, the access to the ZCOM system will be re-initialized. The
in-progress APIs will detect this and ‘retry’ internally. This is
handled automatically and is transparent to the application.
RETURN VALUE Routine zinit 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;
zsinfo_type sip;
if (ierr = zinit (&sip)) {
/* error return code */
}
else {
/* good return code */
}
FILES
SEE ALSO zopen(3X), zrntimer(3X).
/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 241
1 2 ... 237 238 239 240 241 242 243 244 245 246 247 ... 327 328

Commentaires sur ces manuels

Pas de commentaire