Change XOPEN constants to match FreeBSD reality and add some
comments to describe them
This commit is contained in:
parent
eca6bf6ad9
commit
71b9b9d8e6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21760
@ -62,14 +62,14 @@
|
|||||||
#endif /* !_ANSI_SOURCE */
|
#endif /* !_ANSI_SOURCE */
|
||||||
|
|
||||||
#if (!defined(_ANSI_SOURCE)&&!defined(_POSIX_SOURCE)) || defined(_XOPEN_SOURCE)
|
#if (!defined(_ANSI_SOURCE)&&!defined(_POSIX_SOURCE)) || defined(_XOPEN_SOURCE)
|
||||||
#define PASS_MAX 128
|
#define PASS_MAX 128 /* _PASSWORD_LEN from <pwd.h> */
|
||||||
|
|
||||||
#define NL_ARGMAX 9
|
#define NL_ARGMAX 99 /* max # of position args for printf */
|
||||||
#define NL_LANGMAX 14
|
#define NL_LANGMAX 31 /* max LANG name length */
|
||||||
#define NL_MSGMAX 32767
|
#define NL_MSGMAX 32767
|
||||||
#define NL_NMAX 1
|
#define NL_NMAX 1
|
||||||
#define NL_SETMAX 255
|
#define NL_SETMAX 255
|
||||||
#define NL_TEXTMAX 255
|
#define NL_TEXTMAX 2048
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <machine/limits.h>
|
#include <machine/limits.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user