Anope IRC Services  Version 2.0
Macros | Typedefs
pstdint.h File Reference
#include <stddef.h>
#include <limits.h>
#include <signal.h>
Include dependency graph for pstdint.h:

Go to the source code of this file.

Macros

#define _PSTDINT_H_INCLUDED
 
#define SIZE_MAX   (~(size_t)0)
 
#define UINT8_MAX   0xff
 
#define INT8_MAX   0x7f
 
#define INT8_MIN   INT8_C(0x80)
 
#define UINT16_MAX   0xffff
 
#define INT16_MAX   0x7fff
 
#define INT16_MIN   INT16_C(0x8000)
 
#define UINT32_MAX   (0xffffffffUL)
 
#define INT32_MAX   (0x7fffffffL)
 
#define INT32_MIN   INT32_C(0x80000000)
 
#define ULONG_LONG_MAX   UINT64_C (18446744073709551615)
 
#define PRINTF_INT64_HEX_WIDTH   "16"
 
#define PRINTF_INT32_HEX_WIDTH   "8"
 
#define PRINTF_INT16_HEX_WIDTH   "4"
 
#define PRINTF_INT8_HEX_WIDTH   "2"
 
#define PRINTF_INT64_DEC_WIDTH   "20"
 
#define PRINTF_INT32_DEC_WIDTH   "10"
 
#define PRINTF_INT16_DEC_WIDTH   "5"
 
#define PRINTF_INT8_DEC_WIDTH   "3"
 
#define INTMAX_MAX   INT32_MAX
 
#define UINTMAX_MAX   UINT32_MAX
 
#define UINTMAX_C(v)   UINT32_C(v)
 
#define INTMAX_C(v)   INT32_C(v)
 
#define PRINTF_INTMAX_MODIFIER   PRINTF_INT32_MODIFIER
 
#define PRINTF_INTMAX_HEX_WIDTH   PRINTF_INT32_HEX_WIDTH
 
#define PRINTF_INTMAX_DEC_WIDTH   PRINTF_INT32_DEC_WIDTH
 
#define PRINTF_LEAST32_MODIFIER   PRINTF_INT32_MODIFIER
 
#define PRINTF_LEAST16_MODIFIER   PRINTF_INT16_MODIFIER
 
#define UINT_LEAST8_MAX   UINT8_MAX
 
#define INT_LEAST8_MAX   INT8_MAX
 
#define UINT_LEAST16_MAX   UINT16_MAX
 
#define INT_LEAST16_MAX   INT16_MAX
 
#define UINT_LEAST32_MAX   UINT32_MAX
 
#define INT_LEAST32_MAX   INT32_MAX
 
#define INT_LEAST8_MIN   INT8_MIN
 
#define INT_LEAST16_MIN   INT16_MIN
 
#define INT_LEAST32_MIN   INT32_MIN
 
#define UINT_FAST8_MAX   UINT_LEAST8_MAX
 
#define INT_FAST8_MAX   INT_LEAST8_MAX
 
#define UINT_FAST16_MAX   UINT_LEAST16_MAX
 
#define INT_FAST16_MAX   INT_LEAST16_MAX
 
#define UINT_FAST32_MAX   UINT_LEAST32_MAX
 
#define INT_FAST32_MAX   INT_LEAST32_MAX
 
#define INT_FAST8_MIN   INT_LEAST8_MIN
 
#define INT_FAST16_MIN   INT_LEAST16_MIN
 
#define INT_FAST32_MIN   INT_LEAST32_MIN
 
#define STDINT_H_UINTPTR_T_DEFINED
 
#define SIG_ATOMIC_MAX   ((((sig_atomic_t) 1) << (sizeof (sig_atomic_t)*CHAR_BIT-1)) - 1)
 

Typedefs

typedef int32_t intmax_t
 
typedef uint32_t uintmax_t
 
typedef int8_t int_least8_t
 
typedef uint8_t uint_least8_t
 
typedef int16_t int_least16_t
 
typedef uint16_t uint_least16_t
 
typedef int32_t int_least32_t
 
typedef uint32_t uint_least32_t
 
typedef int_least8_t int_fast8_t
 
typedef uint_least8_t uint_fast8_t
 
typedef int_least16_t int_fast16_t
 
typedef uint_least16_t uint_fast16_t
 
typedef int_least32_t int_fast32_t
 
typedef uint_least32_t uint_fast32_t
 
typedef ptrdiff_t intptr_t
 

Macro Definition Documentation

◆ _PSTDINT_H_INCLUDED

#define _PSTDINT_H_INCLUDED

Definition at line 292 of file pstdint.h.

◆ INT16_MAX

#define INT16_MAX   0x7fff

Definition at line 353 of file pstdint.h.

◆ INT16_MIN

#define INT16_MIN   INT16_C(0x8000)

Definition at line 356 of file pstdint.h.

◆ INT32_MAX

#define INT32_MAX   (0x7fffffffL)

Definition at line 404 of file pstdint.h.

◆ INT32_MIN

#define INT32_MIN   INT32_C(0x80000000)

Definition at line 407 of file pstdint.h.

◆ INT8_MAX

#define INT8_MAX   0x7f

Definition at line 317 of file pstdint.h.

◆ INT8_MIN

#define INT8_MIN   INT8_C(0x80)

Definition at line 320 of file pstdint.h.

◆ INT_FAST16_MAX

#define INT_FAST16_MAX   INT_LEAST16_MAX

Definition at line 629 of file pstdint.h.

◆ INT_FAST16_MIN

#define INT_FAST16_MIN   INT_LEAST16_MIN

Definition at line 633 of file pstdint.h.

◆ INT_FAST32_MAX

#define INT_FAST32_MAX   INT_LEAST32_MAX

Definition at line 631 of file pstdint.h.

◆ INT_FAST32_MIN

#define INT_FAST32_MIN   INT_LEAST32_MIN

Definition at line 634 of file pstdint.h.

◆ INT_FAST8_MAX

#define INT_FAST8_MAX   INT_LEAST8_MAX

Definition at line 627 of file pstdint.h.

◆ INT_FAST8_MIN

#define INT_FAST8_MIN   INT_LEAST8_MIN

Definition at line 632 of file pstdint.h.

◆ INT_LEAST16_MAX

#define INT_LEAST16_MAX   INT16_MAX

Definition at line 592 of file pstdint.h.

◆ INT_LEAST16_MIN

#define INT_LEAST16_MIN   INT16_MIN

Definition at line 596 of file pstdint.h.

◆ INT_LEAST32_MAX

#define INT_LEAST32_MAX   INT32_MAX

Definition at line 594 of file pstdint.h.

◆ INT_LEAST32_MIN

#define INT_LEAST32_MIN   INT32_MIN

Definition at line 597 of file pstdint.h.

◆ INT_LEAST8_MAX

#define INT_LEAST8_MAX   INT8_MAX

Definition at line 590 of file pstdint.h.

◆ INT_LEAST8_MIN

#define INT_LEAST8_MIN   INT8_MIN

Definition at line 595 of file pstdint.h.

◆ INTMAX_C

#define INTMAX_C (   v)    INT32_C(v)

Definition at line 561 of file pstdint.h.

◆ INTMAX_MAX

#define INTMAX_MAX   INT32_MAX

Definition at line 558 of file pstdint.h.

◆ PRINTF_INT16_DEC_WIDTH

#define PRINTF_INT16_DEC_WIDTH   "5"

Definition at line 526 of file pstdint.h.

◆ PRINTF_INT16_HEX_WIDTH

#define PRINTF_INT16_HEX_WIDTH   "4"

Definition at line 513 of file pstdint.h.

◆ PRINTF_INT32_DEC_WIDTH

#define PRINTF_INT32_DEC_WIDTH   "10"

Definition at line 523 of file pstdint.h.

◆ PRINTF_INT32_HEX_WIDTH

#define PRINTF_INT32_HEX_WIDTH   "8"

Definition at line 510 of file pstdint.h.

◆ PRINTF_INT64_DEC_WIDTH

#define PRINTF_INT64_DEC_WIDTH   "20"

Definition at line 520 of file pstdint.h.

◆ PRINTF_INT64_HEX_WIDTH

#define PRINTF_INT64_HEX_WIDTH   "16"

Definition at line 507 of file pstdint.h.

◆ PRINTF_INT8_DEC_WIDTH

#define PRINTF_INT8_DEC_WIDTH   "3"

Definition at line 529 of file pstdint.h.

◆ PRINTF_INT8_HEX_WIDTH

#define PRINTF_INT8_HEX_WIDTH   "2"

Definition at line 516 of file pstdint.h.

◆ PRINTF_INTMAX_DEC_WIDTH

#define PRINTF_INTMAX_DEC_WIDTH   PRINTF_INT32_DEC_WIDTH

Definition at line 569 of file pstdint.h.

◆ PRINTF_INTMAX_HEX_WIDTH

#define PRINTF_INTMAX_HEX_WIDTH   PRINTF_INT32_HEX_WIDTH

Definition at line 566 of file pstdint.h.

◆ PRINTF_INTMAX_MODIFIER

#define PRINTF_INTMAX_MODIFIER   PRINTF_INT32_MODIFIER

Definition at line 563 of file pstdint.h.

◆ PRINTF_LEAST16_MODIFIER

#define PRINTF_LEAST16_MODIFIER   PRINTF_INT16_MODIFIER

Definition at line 588 of file pstdint.h.

◆ PRINTF_LEAST32_MODIFIER

#define PRINTF_LEAST32_MODIFIER   PRINTF_INT32_MODIFIER

Definition at line 587 of file pstdint.h.

◆ SIG_ATOMIC_MAX

#define SIG_ATOMIC_MAX   ((((sig_atomic_t) 1) << (sizeof (sig_atomic_t)*CHAR_BIT-1)) - 1)

Definition at line 726 of file pstdint.h.

◆ SIZE_MAX

#define SIZE_MAX   (~(size_t)0)

Definition at line 295 of file pstdint.h.

◆ STDINT_H_UINTPTR_T_DEFINED

#define STDINT_H_UINTPTR_T_DEFINED

Definition at line 718 of file pstdint.h.

◆ UINT16_MAX

#define UINT16_MAX   0xffff

Definition at line 332 of file pstdint.h.

◆ UINT32_MAX

#define UINT32_MAX   (0xffffffffUL)

Definition at line 377 of file pstdint.h.

◆ UINT8_MAX

#define UINT8_MAX   0xff

Definition at line 305 of file pstdint.h.

◆ UINT_FAST16_MAX

#define UINT_FAST16_MAX   UINT_LEAST16_MAX

Definition at line 628 of file pstdint.h.

◆ UINT_FAST32_MAX

#define UINT_FAST32_MAX   UINT_LEAST32_MAX

Definition at line 630 of file pstdint.h.

◆ UINT_FAST8_MAX

#define UINT_FAST8_MAX   UINT_LEAST8_MAX

Definition at line 626 of file pstdint.h.

◆ UINT_LEAST16_MAX

#define UINT_LEAST16_MAX   UINT16_MAX

Definition at line 591 of file pstdint.h.

◆ UINT_LEAST32_MAX

#define UINT_LEAST32_MAX   UINT32_MAX

Definition at line 593 of file pstdint.h.

◆ UINT_LEAST8_MAX

#define UINT_LEAST8_MAX   UINT8_MAX

Definition at line 589 of file pstdint.h.

◆ UINTMAX_C

#define UINTMAX_C (   v)    UINT32_C(v)

Definition at line 560 of file pstdint.h.

◆ UINTMAX_MAX

#define UINTMAX_MAX   UINT32_MAX

Definition at line 559 of file pstdint.h.

◆ ULONG_LONG_MAX

#define ULONG_LONG_MAX   UINT64_C (18446744073709551615)

Definition at line 489 of file pstdint.h.

Typedef Documentation

◆ int_fast16_t

Definition at line 622 of file pstdint.h.

◆ int_fast32_t

Definition at line 624 of file pstdint.h.

◆ int_fast8_t

Definition at line 620 of file pstdint.h.

◆ int_least16_t

typedef int16_t int_least16_t

Definition at line 583 of file pstdint.h.

◆ int_least32_t

typedef int32_t int_least32_t

Definition at line 585 of file pstdint.h.

◆ int_least8_t

typedef int8_t int_least8_t

Definition at line 581 of file pstdint.h.

◆ intmax_t

typedef int32_t intmax_t

Definition at line 556 of file pstdint.h.

◆ intptr_t

typedef ptrdiff_t intptr_t

Definition at line 716 of file pstdint.h.

◆ uint_fast16_t

Definition at line 623 of file pstdint.h.

◆ uint_fast32_t

Definition at line 625 of file pstdint.h.

◆ uint_fast8_t

Definition at line 621 of file pstdint.h.

◆ uint_least16_t

typedef uint16_t uint_least16_t

Definition at line 584 of file pstdint.h.

◆ uint_least32_t

typedef uint32_t uint_least32_t

Definition at line 586 of file pstdint.h.

◆ uint_least8_t

typedef uint8_t uint_least8_t

Definition at line 582 of file pstdint.h.

◆ uintmax_t

typedef uint32_t uintmax_t

Definition at line 557 of file pstdint.h.