mirror of
https://github.com/coreutils/coreutils.git
synced 2026-10-28 09:44:34 +08:00
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:
1 parent
7d74e197bb
commit
5471637563
1 file changed
+2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user