GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
STRUCTS_TYPE_BOOLEAN(3) FreeBSD Library Functions Manual STRUCTS_TYPE_BOOLEAN(3)

structs_type_boolean_char, structs_type_boolean_int, structs_type_boolean_char_01, structs_type_boolean_int_01, —
structs types for boolean values

PDEL Library (libpdel, -lpdel)

#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;

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".

libpdel(3), structs(3), structs_type(3)

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

Archie Cobbs ⟨archie@freebsd.org⟩
April 22, 2002 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.