xdr_short()
Format
#include <rpc.h>
bool_t
xdr_short(xdrs, sp)
XDR *xdrs;
short *sp;
Parameters
- xdrs
- Indicates the pointer to an XDR stream.
- sp
- Indicates the pointer to the short integer.
Usage
The xdr_short() call translates between C short integers and their external representations.
Return codes
The value 1 indicates success; the value 0 indicates an error.
Context
- clnt_broadcast()
- clnt_call()
- clnt_freeres()
- pmap_rmtcall()
- registerrpc()
- svc_freeargs()
- svc_getargs()
- svc_sendreply()