ZCOM C I/F Library Routines

ZSEND (3X)

PARAMETERS

 

 

 

zap

Pointer to ZCOM address. The destination to where the data is sent.

mode

Completion control:

 

 

 

ZcMODE_NO_WAIT

(0)

- Send no wait

 

ZcMODE_RPT_ERRS

(1)

- Send no wait, report errors

 

ZcMODE_DEF_STATUS

(2)

- Send no wait, definite status

 

ZcMODE_RPT_ERRS_WBUF

(5)

- Send no wait, report errors with buffer

 

ZcMODE_DEF_STATUS_WBUF

(7)

- Send no wait, definite status and buffer

 

ZcMODE_WAIT

(8)

- Send and await status in rstat

 

Some bits (when set) in this mode parameter can cause zsend to behave differently.

 

Refer to the NOTES section below for details.

mhp

Pointer to message header. It contains some data fields to be sent with the data

 

message. See the NOTES section below for what fields must be specified. If NULL is

 

specified, default values are used.

 

 

 

For its structure, refer to the subsection on ‘Message Header’ in the Multiprotocol

 

ACC Programmers’ Reference Guide .

 

 

ibuf

Buffer to send (character array).

 

 

len

Length in bytes to be sent.

 

 

rstat

Return status. Only used for requests issued with ‘wait’, i.e., mode = 8. NULL may be

(Return Param) used if the return status is not required.

280

Chapter 4

Page 280
Image 280
HP UX 11i v1 I/O Cards manual 280