Parsing commandline arguments

This commit is contained in:
2025-09-13 15:43:31 +02:00
parent dc3d80d707
commit e6891b39cc
18 changed files with 448 additions and 59 deletions

25
ulib/machine/limits.h Normal file
View File

@ -0,0 +1,25 @@
#ifndef ULIB_MACHINE_LIMITS_H_
#define ULIB_MACHINE_LIMITS_H_
#define CHAR_BIT (8)
#define SHORT_BIT (16)
#define WCHAR_BIT (16)
#define INT_BIT (32)
#define LONG_LONG_BIT (64)
#define SCHAR_MIN (-128)
#define SCHAR_MAX (127)
#define UCHAR_MAX (255)
#define SHRT_MIN (-32768)
#define SHRT_MAX (32767)
#define USHRT_MAX (65535)
#define INT_MIN (-2147483648)
#define INT_MAX (2147483647)
#define UINT_MAX (4294967295U)
#define LONG_MAX (2147483647L)
#define LONG_MIN (-2147483648L)
#define ULONG_MAX (18446744073709551615UL)
#define LLONG_MAX (9223372036854775807LL)
#define LLONG_MIN (-9223372036854775808LL)
#define ULLONG_MAX (18446744073709551615ULL)
#endif // ULIB_MACHINE_LIMITS_H_