1570af302Sopenharmony_ci#include <limits.h> 2570af302Sopenharmony_ci#include "options.h" 3570af302Sopenharmony_ci#define C(n) switch(n){case n:;} 4570af302Sopenharmony_cistatic void f() 5570af302Sopenharmony_ci{ 6570af302Sopenharmony_ciC(BC_BASE_MAX) 7570af302Sopenharmony_ciC(BC_DIM_MAX) 8570af302Sopenharmony_ciC(BC_SCALE_MAX) 9570af302Sopenharmony_ciC(BC_STRING_MAX) 10570af302Sopenharmony_ciC(CHARCLASS_NAME_MAX) 11570af302Sopenharmony_ciC(COLL_WEIGHTS_MAX) 12570af302Sopenharmony_ciC(EXPR_NEST_MAX) 13570af302Sopenharmony_ciC(LINE_MAX) 14570af302Sopenharmony_ciC(NGROUPS_MAX) 15570af302Sopenharmony_ciC(RE_DUP_MAX) 16570af302Sopenharmony_ciC(_POSIX_CLOCKRES_MIN) 17570af302Sopenharmony_ciC(_POSIX_AIO_LISTIO_MAX) 18570af302Sopenharmony_ciC(_POSIX_AIO_MAX) 19570af302Sopenharmony_ciC(_POSIX_ARG_MAX) 20570af302Sopenharmony_ciC(_POSIX_CHILD_MAX) 21570af302Sopenharmony_ciC(_POSIX_DELAYTIMER_MAX) 22570af302Sopenharmony_ciC(_POSIX_HOST_NAME_MAX) 23570af302Sopenharmony_ciC(_POSIX_LINK_MAX) 24570af302Sopenharmony_ciC(_POSIX_LOGIN_NAME_MAX) 25570af302Sopenharmony_ciC(_POSIX_MAX_CANON) 26570af302Sopenharmony_ciC(_POSIX_MAX_INPUT) 27570af302Sopenharmony_ci#ifdef POSIX_MESSAGE_PASSING 28570af302Sopenharmony_ciC(_POSIX_MQ_OPEN_MAX) 29570af302Sopenharmony_ciC(_POSIX_MQ_PRIO_MAX) 30570af302Sopenharmony_ci#endif 31570af302Sopenharmony_ciC(_POSIX_NAME_MAX) 32570af302Sopenharmony_ciC(_POSIX_NGROUPS_MAX) 33570af302Sopenharmony_ciC(_POSIX_OPEN_MAX) 34570af302Sopenharmony_ciC(_POSIX_PATH_MAX) 35570af302Sopenharmony_ciC(_POSIX_PIPE_BUF) 36570af302Sopenharmony_ciC(_POSIX_RE_DUP_MAX) 37570af302Sopenharmony_ciC(_POSIX_RTSIG_MAX) 38570af302Sopenharmony_ciC(_POSIX_SEM_NSEMS_MAX) 39570af302Sopenharmony_ciC(_POSIX_SEM_VALUE_MAX) 40570af302Sopenharmony_ciC(_POSIX_SIGQUEUE_MAX) 41570af302Sopenharmony_ciC(_POSIX_SSIZE_MAX) 42570af302Sopenharmony_ci#if defined(POSIX_SPORADIC_SERVER) || defined(POSIX_THREAD_SPORADIC_SERVER) 43570af302Sopenharmony_ciC(_POSIX_SS_REPL_MAX) 44570af302Sopenharmony_ci#endif 45570af302Sopenharmony_ciC(_POSIX_STREAM_MAX) 46570af302Sopenharmony_ciC(_POSIX_SYMLINK_MAX) 47570af302Sopenharmony_ciC(_POSIX_SYMLOOP_MAX) 48570af302Sopenharmony_ciC(_POSIX_THREAD_DESTRUCTOR_ITERATIONS) 49570af302Sopenharmony_ciC(_POSIX_THREAD_KEYS_MAX) 50570af302Sopenharmony_ciC(_POSIX_THREAD_THREADS_MAX) 51570af302Sopenharmony_ciC(_POSIX_TIMER_MAX) 52570af302Sopenharmony_ciC(_POSIX_TTY_NAME_MAX) 53570af302Sopenharmony_ciC(_POSIX_TZNAME_MAX) 54570af302Sopenharmony_ciC(_POSIX2_BC_BASE_MAX) 55570af302Sopenharmony_ciC(_POSIX2_BC_DIM_MAX) 56570af302Sopenharmony_ciC(_POSIX2_BC_SCALE_MAX) 57570af302Sopenharmony_ciC(_POSIX2_BC_STRING_MAX) 58570af302Sopenharmony_ciC(_POSIX2_CHARCLASS_NAME_MAX) 59570af302Sopenharmony_ciC(_POSIX2_COLL_WEIGHTS_MAX) 60570af302Sopenharmony_ciC(_POSIX2_EXPR_NEST_MAX) 61570af302Sopenharmony_ciC(_POSIX2_LINE_MAX) 62570af302Sopenharmony_ci#ifdef _XOPEN_SOURCE 63570af302Sopenharmony_ciC(_XOPEN_IOV_MAX) 64570af302Sopenharmony_ciC(_XOPEN_NAME_MAX) 65570af302Sopenharmony_ciC(_XOPEN_PATH_MAX) 66570af302Sopenharmony_ci#endif 67570af302Sopenharmony_ciC(CHAR_BIT) 68570af302Sopenharmony_ciC(CHAR_MAX) 69570af302Sopenharmony_ciC(CHAR_MIN) 70570af302Sopenharmony_ciC(INT_MAX) 71570af302Sopenharmony_ciC(INT_MIN) 72570af302Sopenharmony_ciC(LLONG_MAX) 73570af302Sopenharmony_ciC(LLONG_MIN) 74570af302Sopenharmony_ciC(LONG_BIT) 75570af302Sopenharmony_ciC(LONG_MAX) 76570af302Sopenharmony_ciC(LONG_MIN) 77570af302Sopenharmony_ciC(MB_LEN_MAX) 78570af302Sopenharmony_ciC(SCHAR_MAX) 79570af302Sopenharmony_ciC(SCHAR_MIN) 80570af302Sopenharmony_ciC(SHRT_MAX) 81570af302Sopenharmony_ciC(SHRT_MIN) 82570af302Sopenharmony_ciC(SSIZE_MAX) 83570af302Sopenharmony_ciC(UCHAR_MAX) 84570af302Sopenharmony_ciC(UINT_MAX) 85570af302Sopenharmony_ciC(ULLONG_MAX) 86570af302Sopenharmony_ciC(ULONG_MAX) 87570af302Sopenharmony_ciC(USHRT_MAX) 88570af302Sopenharmony_ciC(WORD_BIT) 89570af302Sopenharmony_ciC(NL_ARGMAX) 90570af302Sopenharmony_ci#ifdef _XOPEN_SOURCE 91570af302Sopenharmony_ciC(NL_LANGMAX) 92570af302Sopenharmony_ci#endif 93570af302Sopenharmony_ciC(NL_MSGMAX) 94570af302Sopenharmony_ciC(NL_SETMAX) 95570af302Sopenharmony_ciC(NL_TEXTMAX) 96570af302Sopenharmony_ci#ifdef _XOPEN_SOURCE 97570af302Sopenharmony_ciC(NZERO) 98570af302Sopenharmony_ci#endif 99570af302Sopenharmony_ci} 100