mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-22 13:27:58 +02:00
20 lines
312 B
C
20 lines
312 B
C
#include <unistd.h>
|
|
#include <limits.h>
|
|
#include <stdio.h>
|
|
|
|
#ifndef INTMAX_MAX
|
|
# ifdef LLONG_MAX
|
|
# define INTMAX_MAX LLONG_MAX
|
|
# else
|
|
# define INTMAX_MAX LONG_MAX
|
|
# endif
|
|
#endif
|
|
|
|
main(int c, char **v)
|
|
{
|
|
printf ("%d\n", INT_MAX);
|
|
printf ("%ld\n", LONG_MAX);
|
|
printf ("%lld\n", INTMAX_MAX);
|
|
exit(0);
|
|
}
|