getlimits: print the limits for 'unsigned short'

* src/getlimits.c (USHRT_MIN): New macro.
(main): Print the limits for 'unsigned short'.
This commit is contained in:
Collin Funk committed 2026-10-25 17:20:53 -07:00
1 parent 7d74e197bb
commit 5471637563
1 file changed
+2
+2
View File
@@ -69,6 +69,7 @@
* #ifdef (TYPE##_MIN) in function macro below. */
#define SIZE_MIN 0
#define UCHAR_MIN 0
#define USHRT_MIN 0
#define UINT_MIN 0
#define ULONG_MIN 0
#define UINTMAX_MIN 0
@@ -178,6 +179,7 @@ main (int argc, char **argv)
print_int (SCHAR);
print_int (UCHAR);
print_int (SHRT);
print_int (USHRT);
print_int (INT);
print_int (UINT);
print_int (LONG);