BOOLTOA C-3





Copyright (C) 1994-95 Conetic Software Systems, Inc. All names, products, and services mentioned are the trademarks of their respective organizations.



NAME


booltoa - convert BOOLEAN value to ASCII

SYNOPSIS


#include 

char *booltoa (b)
BOOLEAN b;

DESCRIPTION


Booltoa converts the BOOLEAN value b to its ASCII string
representation with the format returned by getfbool(C-3). If the
BOOLEAN value is TRUE (non-zero), the first specifier in the
format is returned (yes in the default formatting set).
Otherwise, the second specifier in the format is returned (no in
the default formatting set).

SEE ALSO


getfbool(C-3), fbooltoa(C-3), atobool(C-3)
C/Base Reference Manual Chapter 13, "Formatting Data Values"

NOTES


The return value points to static data whose contents are
overwritten with every call.