ZCOM C I/F Library Routines
ZGET_SHRCVR_LIST (3X)
RETURN VALUE Routine zget_shrcvrs_list returns 0 if successful. Otherwise, a
EXAMPLE | #include | <zcom/zcomsys.h> |
|
| #include | <zcom/zcomcall.h> |
|
| int32 | ierr; |
|
| int32 | mlen; |
|
| uint32 | mode; |
|
| zaddr_type | zaddr; |
|
| zaddr_type | rcvrs[size]; /* "size" is | |
| mlen */ |
|
|
| mlen = size; |
| |
| mode = 3; /* Get list of receivers waiting for Dynamic Reconfig | ||
| Events */ |
|
|
| if (ierr = zget_shrcvr_list (&zaddr, mode, mlen, rcvrs)) { | ||
| /* error return code */ |
| |
| } |
|
|
| else { |
|
|
| /* good return code */ |
| |
| } |
|
|
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 | zevent_rcvr(3X), zconfig(3X) |
|
Chapter 4 | 235 |