Standardbibliothek-Header <limits.h>
Von cppreference.com
Dieser Header ist Teil der Typunterstützungsbibliothek, insbesondere der C-Schnittstelle für numerische Grenzwerte.
Limits von Kernsprachen-Ganzzahltypen | |
| BOOL_WIDTH (C23) |
Bitbreite von _Bool (Makro-Konstante) |
| BOOL_MAX (C29) |
Maximaler Wert von _Bool (Makro-Konstante) |
| CHAR_BIT |
Bitbreite von Bytes (Makrokonstante) |
| MB_LEN_MAX |
maximale Anzahl von Bytes in einem Multibyte-Zeichen (Makrokonstante) |
| CHAR_WIDTH (C23) |
Bitbreite von char, gleich CHAR_BIT(Makro-Konstante) |
| CHAR_MIN |
Minimaler Wert von char (Makrokonstante) |
| CHAR_MAX |
Maximaler Wert von char (Makrokonstante) |
| SCHAR_WIDTHSHRT_WIDTHINT_WIDTHLONG_WIDTHLLONG_WIDTH (C23)(C23)(C23)(C23)(C23) |
Bitbreite von signed char, short, int, long bzw. long long (Makro-Konstante) |
| SCHAR_MINSHRT_MININT_MINLONG_MINLLONG_MIN (C99) |
Minimaler Wert von signed char, short, int, long bzw. long long (Makrokonstante) |
| SCHAR_MAXSHRT_MAXINT_MAXLONG_MAXLLONG_MAX (C99) |
Maximaler Wert von signed char, short, int, long bzw. long long (Makrokonstante) |
| UCHAR_WIDTHUSHRT_WIDTHUINT_WIDTHULONG_WIDTHULLONG_WIDTH (C23)(C23)(C23)(C23)(C23) |
Bitbreite von unsigned char, unsigned short, unsigned int, unsigned long bzw. unsigned long long (Makro-Konstante) |
| UCHAR_MAXUSHRT_MAXUINT_MAXULONG_MAXULLONG_MAX (C99) |
Maximaler Wert von unsigned char, unsigned short, unsigned int, unsigned long bzw. unsigned long long (Makrokonstante) |
| BITINT_MAXWIDTH (C23) |
Maximale Breite N, die durch die Deklaration eines bitgenauen Integers im Typspezifizierer _BitInt(N) unterstützt wird, größer oder gleich ULLONG_WIDTH(Makro-Konstante) |
[bearbeiten] Synopsis
#define __STDC_VERSION_LIMITS_H__ 202311L #define BITINT_MAXWIDTH /* see description */ #define BOOL_MAX /* see description */ #define BOOL_WIDTH /* see description */ #define CHAR_BIT /* see description */ #define CHAR_MAX /* see description */ #define CHAR_MIN /* see description */ #define CHAR_WIDTH /* see description */ #define INT_MAX /* see description */ #define INT_MIN /* see description */ #define INT_WIDTH /* see description */ #define LLONG_MAX /* see description */ #define LLONG_MIN /* see description */ #define LLONG_WIDTH /* see description */ #define LONG_MAX /* see description */ #define LONG_MIN /* see description */ #define LONG_WIDTH /* see description */ #define MB_LEN_MAX /* see description */ #define SCHAR_MAX /* see description */ #define SCHAR_MIN /* see description */ #define SCHAR_WIDTH /* see description */ #define SHRT_MAX /* see description */ #define SHRT_MIN /* see description */ #define SHRT_WIDTH /* see description */ #define UCHAR_MAX /* see description */ #define UCHAR_WIDTH /* see description */ #define UINT_MAX /* see description */ #define UINT_WIDTH /* see description */ #define ULLONG_MAX /* see description */ #define ULLONG_WIDTH /* see description */ #define ULONG_MAX /* see description */ #define ULONG_WIDTH /* see description */ #define USHRT_MAX /* see description */ #define USHRT_WIDTH /* see description */