Return to structs_type_boolean.3 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / libpdel / structs / type |
1.1 ! misho 1: .\" Copyright (c) 2001-2002 Packet Design, LLC. ! 2: .\" All rights reserved. ! 3: .\" ! 4: .\" Subject to the following obligations and disclaimer of warranty, ! 5: .\" use and redistribution of this software, in source or object code ! 6: .\" forms, with or without modifications are expressly permitted by ! 7: .\" Packet Design; provided, however, that: ! 8: .\" ! 9: .\" (i) Any and all reproductions of the source or object code ! 10: .\" must include the copyright notice above and the following ! 11: .\" disclaimer of warranties; and ! 12: .\" (ii) No rights are granted, in any manner or form, to use ! 13: .\" Packet Design trademarks, including the mark "PACKET DESIGN" ! 14: .\" on advertising, endorsements, or otherwise except as such ! 15: .\" appears in the above copyright notice or in the software. ! 16: .\" ! 17: .\" THIS SOFTWARE IS BEING PROVIDED BY PACKET DESIGN "AS IS", AND ! 18: .\" TO THE MAXIMUM EXTENT PERMITTED BY LAW, PACKET DESIGN MAKES NO ! 19: .\" REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING ! 20: .\" THIS SOFTWARE, INCLUDING WITHOUT LIMITATION, ANY AND ALL IMPLIED ! 21: .\" WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, ! 22: .\" OR NON-INFRINGEMENT. PACKET DESIGN DOES NOT WARRANT, GUARANTEE, ! 23: .\" OR MAKE ANY REPRESENTATIONS REGARDING THE USE OF, OR THE RESULTS ! 24: .\" OF THE USE OF THIS SOFTWARE IN TERMS OF ITS CORRECTNESS, ACCURACY, ! 25: .\" RELIABILITY OR OTHERWISE. IN NO EVENT SHALL PACKET DESIGN BE ! 26: .\" LIABLE FOR ANY DAMAGES RESULTING FROM OR ARISING OUT OF ANY USE ! 27: .\" OF THIS SOFTWARE, INCLUDING WITHOUT LIMITATION, ANY DIRECT, ! 28: .\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, PUNITIVE, OR CONSEQUENTIAL ! 29: .\" DAMAGES, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF ! 30: .\" USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY THEORY OF ! 31: .\" LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ! 32: .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF ! 33: .\" THE USE OF THIS SOFTWARE, EVEN IF PACKET DESIGN IS ADVISED OF ! 34: .\" THE POSSIBILITY OF SUCH DAMAGE. ! 35: .\" ! 36: .\" Author: Archie Cobbs <archie@freebsd.org> ! 37: .\" ! 38: .\" $Id: structs_type_boolean.3,v 1.7 2004/06/02 17:24:38 archie Exp $ ! 39: .\" ! 40: .Dd April 22, 2002 ! 41: .Dt STRUCTS_TYPE_BOOLEAN 3 ! 42: .Os ! 43: .Sh NAME ! 44: .Nm structs_type_boolean_char , ! 45: .Nm structs_type_boolean_int , ! 46: .Nm structs_type_boolean_char_01 , ! 47: .Nm structs_type_boolean_int_01 , ! 48: .Nd structs types for boolean values ! 49: .Sh LIBRARY ! 50: PDEL Library (libpdel, \-lpdel) ! 51: .Sh SYNOPSIS ! 52: .In sys/types.h ! 53: .In pdel/structs/structs.h ! 54: .In pdel/structs/type/boolean.h ! 55: .Vt extern const struct structs_type structs_type_boolean_char ; ! 56: .Vt extern const struct structs_type structs_type_boolean_char_01 ; ! 57: .Vt extern const struct structs_type structs_type_boolean_int ; ! 58: .Vt extern const struct structs_type structs_type_boolean_int_01 ; ! 59: .Sh DESCRIPTION ! 60: These are ! 61: .Xr structs 3 ! 62: types for boolean values. ! 63: .Pp ! 64: The types with ! 65: .Fa char ! 66: in the name describe boolean values stored in variables having type ! 67: .Li "char" ! 68: or ! 69: .Li "u_char" . ! 70: The types with ! 71: .Fa int ! 72: in the name describe boolean values stored in variables having type ! 73: .Li "int" ! 74: or ! 75: .Li "u_int" . ! 76: .Pp ! 77: With ! 78: .Nm structs_type_boolean_char ! 79: and ! 80: .Nm structs_type_boolean_int ! 81: the ASCII form is "True" or "False". ! 82: With ! 83: .Nm structs_type_boolean_char_01 ! 84: and ! 85: .Nm structs_type_boolean_int_01 ! 86: the ASCII form is "1" or "0". ! 87: .Sh SEE ALSO ! 88: .Xr libpdel 3 , ! 89: .Xr structs 3 , ! 90: .Xr structs_type 3 ! 91: .Sh HISTORY ! 92: The PDEL library was developed at Packet Design, LLC. ! 93: .Dv "http://www.packetdesign.com/" ! 94: .Sh AUTHORS ! 95: .An Archie Cobbs Aq archie@freebsd.org