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_WBU

(7)

- Send no wait, definite status and

 

F

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.

(Retur

NULL may be used if the return status is not required.

n

 

 

 

Param)

 

 

 

Chapter 4

309