VMS Help  —  TCPIP Services, Programming Interfaces, RPC XDR Routines, xdr_bool
    Serializes and deserializes boolean data.
    Format
      #include  <tcpip$rpcxdr.h>
      bool_t xdr_bool  (XDR *xdrs, bool_t *bp);

1  –  Arguments

 xdrs
    A pointer to an XDR stream handle created by one of the XDR
    stream-handle creation routines.
 bp
    A pointer to the boolean data.

2  –  Description

    A filter primitive that translates between booleans (integers)
    and their external representations. When encoding data, this
    filter produces values of either 1 or 0.

3  –  Return Values

    TRUE               Indicates success.
    FALSE              Indicates failure.
Close Help