STRUCTS_TYPE_BOOLEAN(3)

NAME
structs_type_boolean_char, structs_type_boolean_int, structs_type_boolean_char_01, structs_type_boolean_int_01, - structs types for boolean values

LIBRARY
PDEL Library (libpdel, -lpdel)

SYNOPSIS
#include <sys/types.h>
#include <pdel/structs/structs.h>
#include <pdel/structs/type/boolean.h>
extern const struct structs_type structs_type_boolean_char;
extern const struct structs_type structs_type_boolean_char_01;
extern const struct structs_type structs_type_boolean_int;
extern const struct structs_type structs_type_boolean_int_01;

DESCRIPTION
These are structs(3) types for boolean values.

The types with char in the name describe boolean values stored in variables having type char or u_char. The types with int in the name describe boolean values stored in variables having type int or u_int.

With structs_type_boolean_char and structs_type_boolean_int the ASCII form is "True" or "False". With structs_type_boolean_char_01 and structs_type_boolean_int_01 the ASCII form is "1" or "0".

SEE ALSO
libpdel(3), structs(3), structs_type(3)

HISTORY
The PDEL library was developed at Packet Design, LLC. http://www.packetdesign.com/

AUTHORS
Archie Cobbs <archie@freebsd.org>