GETFBOOL C-3

NAME

getfbool - get format for BOOLEAN values

SYNOPSIS

#include <cbase/dtypes.h>

char *getfbool()

DESCRIPTION

Getfbool returns a pointer to a string containing the format for BOOLEAN values. This format string is used by atobool(C-3) and booltoa(C-3). In addition, several of the C/Base programs use this string for formatting BOOLEAN values.

The first specifier of the format is for TRUE (non-zero) values. The second specifier is for FALSE (zero) values.

The BOOLEAN format string is retrieved from the country format structure (see fcountry(C-3)).

SEE ALSO

fcountry(C-3), atobool(C-3), booltoa(C-3)

C/Base Reference Manual Chapter 13, "Formatting Data Values"

NOTES

The value returned points to static data shared among all of the get format routines and is overwritten with each call.