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


Manual Reference Pages  -  STRUCTS_TYPE_INT (3)

NAME

structs_type_int - structs types for integral types

CONTENTS

Library
Synopsis
Description
See Also
History
Authors

LIBRARY

PDEL Library (libpdel, -lpdel)

SYNOPSIS


.In sys/types.h
.In pdel/structs/structs.h
.In pdel/structs/type/int.h
.Vt extern const struct structs_type structs_type_char ;
.Vt extern const struct structs_type structs_type_uchar ;
.Vt extern const struct structs_type structs_type_hchar ;
.Vt extern const struct structs_type structs_type_short ;
.Vt extern const struct structs_type structs_type_ushort ;
.Vt extern const struct structs_type structs_type_hshort ;
.Vt extern const struct structs_type structs_type_int ;
.Vt extern const struct structs_type structs_type_uint ;
.Vt extern const struct structs_type structs_type_hint ;
.Vt extern const struct structs_type structs_type_long ;
.Vt extern const struct structs_type structs_type_ulong ;
.Vt extern const struct structs_type structs_type_hlong ;
.Vt extern const struct structs_type structs_type_int8 ;
.Vt extern const struct structs_type structs_type_uint8 ;
.Vt extern const struct structs_type structs_type_hint8 ;
.Vt extern const struct structs_type structs_type_int16 ;
.Vt extern const struct structs_type structs_type_uint16 ;
.Vt extern const struct structs_type structs_type_hint16 ;
.Vt extern const struct structs_type structs_type_int32 ;
.Vt extern const struct structs_type structs_type_uint32 ;
.Vt extern const struct structs_type structs_type_hint32 ;
.Vt extern const struct structs_type structs_type_int64 ;
.Vt extern const struct structs_type structs_type_uint64 ;
.Vt extern const struct structs_type structs_type_hint64 ;

DESCRIPTION

The structs(3) library includes these pre-defined integral types:

structs_type_char
  For values of type char.
structs_type_uchar
  For values of type u_char.
structs_type_hchar
  For values of type u_char expressed as hexadecimal.
structs_type_short
  For values of type short.
structs_type_ushort
  For values of type u_short.
structs_type_hshort
  For values of type u_short expressed as hexadecimal.
structs_type_int
  For values of type int.
structs_type_uint
  For values of type u_int.
structs_type_hint
  For values of type u_int expressed as hexadecimal.
structs_type_long
  For values of type long.
structs_type_ulong
  For values of type u_long.
structs_type_hlong
  For values of type u_long expressed as hexadecimal.
structs_type_int8
  For values of type int8_t.
structs_type_uint8
  For values of type u_int8_t.
structs_type_hint8
  For values of type u_int8_t expressed as hexadecimal.
structs_type_int16
  For values of type int16_t.
structs_type_uint16
  For values of type u_int16_t.
structs_type_hint16
  For values of type u_int16_t expressed as hexadecimal.
structs_type_int32
  For values of type int32_t.
structs_type_uint32
  For values of type u_int32_t.
structs_type_hint32
  For values of type u_int32_t expressed as hexadecimal.
structs_type_int64
  For values of type int64_t.
structs_type_uint64
  For values of type u_int64_t.
structs_type_hint64
  For values of type u_int64_t expressed as hexadecimal.

Note: the "short", "int", and "long" variants have sizes that are machine dependent, because they represent primitive types whose sizes are machine dependent. Therefore, the binary encodings of these types are also machine dependent (although they are independent of byte-order).

To ensure machine independence in binary encodings, use the fixed-size "8", "16", "32", and "64" variants.

SEE ALSO

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

HISTORY

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

AUTHORS


.An Archie Cobbs Aq archie@freebsd.org
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 manServer 1.07.