summaryrefslogtreecommitdiff
path: root/include/limits.h
AgeCommit message (Collapse)Author
2015-01-20increase TMP_MAX to the equivalent of INT_MAX. it's actually more,Ted Unangst
but safer not to wraparound by accident. ok deraadt millert miod
2013-03-01Add _POSIX_CLOCKRES_MIN and _POSIX2_CHARCLASS_NAME_MAX per POSIX 1003.1-2008Philip Guenther
ports build tested by espie@
2013-02-17Fix typo that hid PASS_MAX, TMP_MAX, NL_NMAX, and _XOPEN_{IOV,NAME,PATH}_MAXPhilip Guenther
defines. ok deraadt@ millert@
2012-06-30Further standards compliance fixes: export LONG_BIT, WORD_BIT, andPhilip Guenthe
NL_{ARG,LANG,MSG,SET,TEXT}MAX with newer POSIX. Hide {FLT,DBL}_{DIG,MAX,MIN} and {PASS,TMP,NL_N}_MAX with newer XPG. Make _POSIX_NGROUPS_MAX and _POSIX_OPEN_MAX conditional on the POSIX version, like _POSIX_TZNAME_MAX already is. Add some more _POSIX_* and _XOPEN_* 'specified' limits. ok kettenis@
2008-02-10Define _POSIX_TZNAME_MAX to 6 if the user requested POSIX 1003.1-2001.Mark Kettenis
ok millert@
2008-02-02Define _POSIX_HOST_NAME_MAX and HOST_NAME_MAX.Mark Kettenis
ok krw@, laurent@
2005-12-31Move TTY_NAME_MAX and LOGIN_NAME_MAX to sys/syslimits.hTodd C. Miller
Use correct values for _POSIX_TTY_NAME_MAX and _POSIX_LOGIN_NAME_MAX Define MAXLOGNAME in terms of LOGIN_NAME_MAX OK krw@
2005-12-13First step in include files overhaul. Use __FOO_VISIBLE (as definedTodd C. Miller
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
2004-06-09According to POSIX, _POSIX_PATH_MAX should be 256 but _POSIX_SYMLINK_MAXTodd C. Miller
should only be 255. You would think they would be the same but you'd be wrong.
2004-05-31Define _POSIX_SYMLINK_MAX and SYMLINK_MAX as _POSIX_PATH_MAX and PATH_MAXTodd C. Miller
respectively instead of duplicating their values.
2004-05-31Updates based on Single Unix; OK deraadt@Todd C. Miller
o _POSIX_CHILD_MAX increased to 25 o _POSIX2_RE_DUP_MAX renamed _POSIX_RE_DUP_MAX o _POSIX_SYMLINK_MAX and SYMLINK_MAX added (same as PATH_MAX) o _POSIX_SYMLOOP_MAX and SYMLOOP_MAX added (like MAXSYMLINKS)
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-04-24Introduce a new file, machine/internal_types.h, to hold that specific archMarc Espie
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others.
1998-11-20Add thread-safety to libc, so that libc_r will build (on i386 at least).David Leonard
All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
1998-07-11provide TMP_MAX like stdio.h; kleinkTheo de Raadt
1997-09-21Well, as we are heading for a release people are encouraged to rebuild theirNiklas Hallqvist
entire trees for testing anyway, I might as well do this intrusive touching of include files now. Added openBSD tags.
1996-10-26Correct a typo in _POSIX_SSIZE_MAXThorsten Lockert
Correct _POSIX_ARG_MAX; it should define the minimum allowed argument size, not the supported on (we have sysconf for that)
1996-08-30_POSIX_ARG_MAX 256k after consulting with thorstenTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt