/* Historically bionic exposed the content of <float.h> from <limits.h> and <sys/limits.h> too. */ #include <float.h>
/* Many of the POSIX limits come from the kernel. */ #include <linux/limits.h>
__BEGIN_DECLS
/** Maximum buffer size for getentropy(). */ #define GETENTROPY_MAX 256
/** Maximum number of positional arguments in a printf()/scanf() format string. */ #define NL_ARGMAX 9 /** Maximum number of bytes in a $LANG name. */ #define NL_LANGMAX 14 /** Irrelevant with Android's <nl_types.h>. */ #define NL_MSGMAX 32767 /** Obsolete; removed from POSIX. */ #define NL_NMAX 1 /** Irrelevant with Android's <nl_types.h>. */ #define NL_SETMAX 255 /** Irrelevant with Android's <nl_types.h>. */ #define NL_TEXTMAX 255
/** Obsolete; removed from POSIX. */ #define PASS_MAX 128 /** Obsolete; removed from POSIX. */ #define TMP_MAX 308915776
/** Number of bits in a `long` (POSIX). */ #if __LP64__ #define LONG_BIT 64 #else #define LONG_BIT 32 #endif /** Number of bits in a "word" of `int` (POSIX). */ #define WORD_BIT 32
/** Maximum value of a uid_t. */ #define UID_MAX UINT_MAX /** Maximum value of a gid_t. */ #define GID_MAX UINT_MAX /** Maximum value of a size_t. */ #define SIZE_T_MAX ULONG_MAX /** Maximum value of a ssize_t. */ #define SSIZE_MAX LONG_MAX
/** Maximum number of bytes in a multibyte character. */ #define MB_LEN_MAX 4
/** Default process priority. */ #define NZERO 20
/** Maximum number of struct iovec that can be passed in a single readv()/writev(). */ #define IOV_MAX 1024
/** Maximum value for a semaphore. */ #define SEM_VALUE_MAX 0x3fffffff
/** Do not use: prefer getline() or asprintf() rather than hard-coding an arbitrary size. */ #define LINE_MAX _POSIX2_LINE_MAX
/* POSIX says these belong in <unistd.h> but BSD has some in <limits.h>. */ #include <bits/posix_limits.h>
/** Maximum length of a hostname returned by gethostname(). */ #define HOST_NAME_MAX _POSIX_HOST_NAME_MAX
/** Maximum length of a login name. */ #define LOGIN_NAME_MAX 256
/** Maximum length of terminal device name. */ #define TTY_NAME_MAX 32
/** Maximum number of attempts to destroy thread-specific data when a thread exits. */ #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.