Stdint.h

/* Copyright (C) 1997,1998,1999,2000,2001,2006 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA   02111-1307 USA. */ /* *	ISO C99: 7.18 Integer types   */ /* Exact integral types. */ /* Signed. */ /* There is some amount of overlap with  as known by inet code */ typedef signed char		int8_t; typedef short int		int16_t; typedef int			int32_t; typedef long int		int64_t; __extension__ typedef long long int		int64_t; /* Unsigned. */ typedef unsigned char		uint8_t; typedef unsigned short int	uint16_t; typedef unsigned int		uint32_t; typedef unsigned long int	uint64_t; __extension__ typedef unsigned long long int	uint64_t; /* Small types. */ /* Signed. */ typedef signed char		int_least8_t; typedef short int		int_least16_t; typedef int			int_least32_t; typedef long int		int_least64_t; __extension__ typedef long long int		int_least64_t; /* Unsigned. */ typedef unsigned char		uint_least8_t; typedef unsigned short int	uint_least16_t; typedef unsigned int		uint_least32_t; typedef unsigned long int	uint_least64_t; __extension__ typedef unsigned long long int	uint_least64_t; /* Fast types. */ /* Signed. */ typedef signed char		int_fast8_t; typedef long int		int_fast16_t; typedef long int		int_fast32_t; typedef long int		int_fast64_t; typedef int			int_fast16_t; typedef int			int_fast32_t; __extension__ typedef long long int		int_fast64_t; /* Unsigned. */ typedef unsigned char		uint_fast8_t; typedef unsigned long int	uint_fast16_t; typedef unsigned long int	uint_fast32_t; typedef unsigned long int	uint_fast64_t; typedef unsigned int		uint_fast16_t; typedef unsigned int		uint_fast32_t; __extension__ typedef unsigned long long int	uint_fast64_t; /* Types for `void *' pointers. */ typedef long int		intptr_t; typedef unsigned long int	uintptr_t; typedef int			intptr_t; typedef unsigned int		uintptr_t; /* Largest integral types. */ typedef long int		intmax_t; typedef unsigned long int	uintmax_t; __extension__ typedef long long int		intmax_t; __extension__ typedef unsigned long long int	uintmax_t; /* The ISO C99 standard specifies that in C++ implementations these macros should only be defined if explicitly requested. */ /* Limits of integral types. */ /* Minimum of signed integral types. */ /* Maximum of signed integral types. */ /* Maximum of unsigned integral types. */ /* Minimum of signed integral types having a minimum size. */ /* Maximum of signed integral types having a minimum size. */ /* Maximum of unsigned integral types having a minimum size. */ /* Minimum of fast signed integral types having a minimum size. */ /* Maximum of fast signed integral types having a minimum size. */ /* Maximum of fast unsigned integral types having a minimum size. */ /* Values to test for integral types holding `void *' pointer. */ /* Minimum for largest signed integral type. */ /* Maximum for largest signed integral type. */ /* Maximum for largest unsigned integral type. */ /* Limits of other integer types. */ /* Limits of `ptrdiff_t' type. */ /* Limits of `sig_atomic_t'. */ /* Limit of `size_t' type. */ /* Limits of `wchar_t'. */ /* These constants might also be defined in . */ /* Limits of `wint_t'. */ /* The ISO C99 standard specifies that in C++ implementations these should only be defined if explicitly requested. */ /* Signed. */ /* Unsigned. */ /* Maximal type. */
 * 1) ifndef _STDINT_H
 * 2) define _STDINT_H	1
 * 1) include 
 * 2) include 
 * 3) include 
 * 1) ifndef __int8_t_defined
 * 2) define __int8_t_defined
 * 1) if __WORDSIZE == 64
 * 1) else
 * 1) endif
 * 2) endif
 * 1) ifndef __uint32_t_defined
 * 1) define __uint32_t_defined
 * 2) endif
 * 3) if __WORDSIZE == 64
 * 1) else
 * 1) endif
 * 1) if __WORDSIZE == 64
 * 1) else
 * 1) endif
 * 1) if __WORDSIZE == 64
 * 1) else
 * 1) endif
 * 1) if __WORDSIZE == 64
 * 1) else
 * 1) endif
 * 1) if __WORDSIZE == 64
 * 1) else
 * 1) endif
 * 1) if __WORDSIZE == 64
 * 2) ifndef __intptr_t_defined
 * 1)  define __intptr_t_defined
 * 2) endif
 * 1) else
 * 2) ifndef __intptr_t_defined
 * 1)  define __intptr_t_defined
 * 2) endif
 * 1) endif
 * 1) if __WORDSIZE == 64
 * 1) else
 * 1) endif
 * 1) if !defined __cplusplus || defined __STDC_LIMIT_MACROS
 * 1) if __WORDSIZE == 64
 * 2)  define __INT64_C(c)	c ## L
 * 3)  define __UINT64_C(c)	c ## UL
 * 4) else
 * 5)  define __INT64_C(c)	c ## LL
 * 6)  define __UINT64_C(c)	c ## ULL
 * 7) endif
 * 1) define INT8_MIN		(-128)
 * 2) define INT16_MIN		(-32767-1)
 * 3) define INT32_MIN		(-2147483647-1)
 * 4) define INT64_MIN		(-__INT64_C(9223372036854775807)-1)
 * 1) define INT8_MAX		(127)
 * 2) define INT16_MAX		(32767)
 * 3) define INT32_MAX		(2147483647)
 * 4) define INT64_MAX		(__INT64_C(9223372036854775807))
 * 1) define UINT8_MAX		(255)
 * 2) define UINT16_MAX		(65535)
 * 3) define UINT32_MAX		(4294967295U)
 * 4) define UINT64_MAX		(__UINT64_C(18446744073709551615))
 * 1) define INT_LEAST8_MIN		(-128)
 * 2) define INT_LEAST16_MIN	(-32767-1)
 * 3) define INT_LEAST32_MIN	(-2147483647-1)
 * 4) define INT_LEAST64_MIN	(-__INT64_C(9223372036854775807)-1)
 * 1) define INT_LEAST8_MAX		(127)
 * 2) define INT_LEAST16_MAX	(32767)
 * 3) define INT_LEAST32_MAX	(2147483647)
 * 4) define INT_LEAST64_MAX	(__INT64_C(9223372036854775807))
 * 1) define UINT_LEAST8_MAX	(255)
 * 2) define UINT_LEAST16_MAX	(65535)
 * 3) define UINT_LEAST32_MAX	(4294967295U)
 * 4) define UINT_LEAST64_MAX	(__UINT64_C(18446744073709551615))
 * 1) define INT_FAST8_MIN		(-128)
 * 2) if __WORDSIZE == 64
 * 3)  define INT_FAST16_MIN	(-9223372036854775807L-1)
 * 4)  define INT_FAST32_MIN	(-9223372036854775807L-1)
 * 5) else
 * 6)  define INT_FAST16_MIN	(-2147483647-1)
 * 7)  define INT_FAST32_MIN	(-2147483647-1)
 * 8) endif
 * 9) define INT_FAST64_MIN		(-__INT64_C(9223372036854775807)-1)
 * 1) define INT_FAST8_MAX		(127)
 * 2) if __WORDSIZE == 64
 * 3)  define INT_FAST16_MAX	(9223372036854775807L)
 * 4)  define INT_FAST32_MAX	(9223372036854775807L)
 * 5) else
 * 6)  define INT_FAST16_MAX	(2147483647)
 * 7)  define INT_FAST32_MAX	(2147483647)
 * 8) endif
 * 9) define INT_FAST64_MAX		(__INT64_C(9223372036854775807))
 * 1) define UINT_FAST8_MAX		(255)
 * 2) if __WORDSIZE == 64
 * 3)  define UINT_FAST16_MAX	(18446744073709551615UL)
 * 4)  define UINT_FAST32_MAX	(18446744073709551615UL)
 * 5) else
 * 6)  define UINT_FAST16_MAX	(4294967295U)
 * 7)  define UINT_FAST32_MAX	(4294967295U)
 * 8) endif
 * 9) define UINT_FAST64_MAX	(__UINT64_C(18446744073709551615))
 * 1) if __WORDSIZE == 64
 * 2)  define INTPTR_MIN		(-9223372036854775807L-1)
 * 3)  define INTPTR_MAX		(9223372036854775807L)
 * 4)  define UINTPTR_MAX		(18446744073709551615UL)
 * 5) else
 * 6)  define INTPTR_MIN		(-2147483647-1)
 * 7)  define INTPTR_MAX		(2147483647)
 * 8)  define UINTPTR_MAX		(4294967295U)
 * 9) endif
 * 1) define INTMAX_MIN		(-__INT64_C(9223372036854775807)-1)
 * 1) define INTMAX_MAX		(__INT64_C(9223372036854775807))
 * 1) define UINTMAX_MAX		(__UINT64_C(18446744073709551615))
 * 1) if __WORDSIZE == 64
 * 2)  define PTRDIFF_MIN		(-9223372036854775807L-1)
 * 3)  define PTRDIFF_MAX		(9223372036854775807L)
 * 4) else
 * 5)  define PTRDIFF_MIN		(-2147483647-1)
 * 6)  define PTRDIFF_MAX		(2147483647)
 * 7) endif
 * 1) define SIG_ATOMIC_MIN		(-2147483647-1)
 * 2) define SIG_ATOMIC_MAX		(2147483647)
 * 1) if __WORDSIZE == 64
 * 2)  define SIZE_MAX		(18446744073709551615UL)
 * 3) else
 * 4)  define SIZE_MAX		(4294967295U)
 * 5) endif
 * 1) ifndef WCHAR_MIN
 * 1)  define WCHAR_MIN		__WCHAR_MIN
 * 2)  define WCHAR_MAX		__WCHAR_MAX
 * 3) endif
 * 1) define WINT_MIN		(0u)
 * 2) define WINT_MAX		(4294967295u)
 * 1) endif	/* C++ && limit macros */
 * 1) if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
 * 1) define INT8_C(c)	c
 * 2) define INT16_C(c)	c
 * 3) define INT32_C(c)	c
 * 4) if __WORDSIZE == 64
 * 5)  define INT64_C(c)	c ## L
 * 6) else
 * 7)  define INT64_C(c)	c ## LL
 * 8) endif
 * 1) define UINT8_C(c)	c
 * 2) define UINT16_C(c)	c
 * 3) define UINT32_C(c)	c ## U
 * 4) if __WORDSIZE == 64
 * 5)  define UINT64_C(c)	c ## UL
 * 6) else
 * 7)  define UINT64_C(c)	c ## ULL
 * 8) endif
 * 1) if __WORDSIZE == 64
 * 2)  define INTMAX_C(c)	c ## L
 * 3)  define UINTMAX_C(c)	c ## UL
 * 4) else
 * 5)  define INTMAX_C(c)	c ## LL
 * 6)  define UINTMAX_C(c)	c ## ULL
 * 7) endif
 * 1) endif	/* C++ && constant macros */
 * 1) endif /* stdint.h */