ZCOM C I/F Library Routines

 

 

 

ZPEEK (3X)

Threads

This routine may be called from a multi-threaded application using the

Considerations

POSIX (1003.1c) kernel threads API package. This routine has the

 

following characteristics when called by a multi-threaded application:

 

cancellation point

Thread cancellation can occur when a thread calls this

 

 

routine.

 

 

async-cancel unsafe

The calling thread’s cancelability type must be

 

 

PTHREAD_CANCEL_DEFERRED if cancellation is

 

 

enabled.

 

 

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

RETURN VALUE

Routine zopen 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.

 

FILES

 

 

 

 

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

SEE ALSO

zread(3X), zluopen(3X)

 

 

Chapter 4

253

Page 253
Image 253
HP UX 11i v1 I/O Cards manual Error codes and their meanings, Zread3X, zluopen3X