ONC+ Developer's Guide

RPCL Booleans

C has no built-in Boolean type. However, the RPC library uses a Boolean type called bool_t that is either TRUE or FALSE. Parameters declared as type bool in XDR language are compiled into bool_t in the output header file.

Example:

bool married; --> bool_t married;