CVS Repository/ src/ include/ limits.h


OpenBSD release(s):
1.19 (79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57),  1.18 (56 55 54),  1.17 (53),  1.16 (52),  1.15 (51 50 49 48 47 46 45 44 43),  1.13 (42 41 40 39),  1.11 (38 37 36),  1.8 (35 34),  1.7 (33 32),  1.6 (31 30 29 28 27 26 25),  1.5 (24),  1.4 (23 22),  1.3 (21),  1.2 (20), 
Tags:
1.1.1.1 (netbsd_1_1), 
revision 1.19/ (Download) - annotate - Tue, 20 Jan 2015 22:09:50 UTC by tedu
OpenBSD release(s): 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57
Changes since 1.18: +2 -2 (diff)
increase TMP_MAX to the equivalent of INT_MAX. it's actually more,
but safer not to wraparound by accident.
ok deraadt millert miod

revision 1.18/ (Download) - annotate - Fri, 01 Mar 2013 21:16:34 UTC by guenther
OpenBSD release(s): 56 55 54
Changes since 1.17: +12 -10 (diff)
Add _POSIX_CLOCKRES_MIN and _POSIX2_CHARCLASS_NAME_MAX per POSIX 1003.1-2008

ports build tested by espie@

revision 1.17/ (Download) - annotate - Sun, 17 Feb 2013 22:09:54 UTC by guenther
OpenBSD release(s): 53
Changes since 1.16: +2 -2 (diff)
Fix typo that hid PASS_MAX, TMP_MAX, NL_NMAX, and _XOPEN_{IOV,NAME,PATH}_MAX
defines.

ok deraadt@ millert@

revision 1.16/ (Download) - annotate - Sat, 30 Jun 2012 20:21:10 UTC by guenther
OpenBSD release(s): 52
Changes since 1.15: +26 -8 (diff)
Further standards compliance fixes: export LONG_BIT, WORD_BIT, and
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@

revision 1.15/ (Download) - annotate - Sun, 10 Feb 2008 09:59:54 UTC by kettenis
OpenBSD release(s): 51 50 49 48 47 46 45 44 43
Changes since 1.14: +5 -1 (diff)
Define _POSIX_TZNAME_MAX to 6 if the user requested POSIX 1003.1-2001.

ok millert@

revision 1.14/ (Download) - annotate - Sat, 02 Feb 2008 15:31:31 UTC by kettenis
Changes since 1.13: +3 -2 (diff)
Define _POSIX_HOST_NAME_MAX and HOST_NAME_MAX.

ok krw@, laurent@

revision 1.13/ (Download) - annotate - Sat, 31 Dec 2005 19:29:38 UTC by millert
OpenBSD release(s): 42 41 40 39
Changes since 1.12: +4 -7 (diff)
Move TTY_NAME_MAX and LOGIN_NAME_MAX to sys/syslimits.h
Use correct values for _POSIX_TTY_NAME_MAX and _POSIX_LOGIN_NAME_MAX
Define MAXLOGNAME in terms of LOGIN_NAME_MAX
OK krw@

revision 1.12/ (Download) - annotate - Tue, 13 Dec 2005 00:35:22 UTC by millert
Changes since 1.11: +16 -12 (diff)
First step in include files overhaul.  Use __FOO_VISIBLE (as defined
in sys/cdefs.h) instead of _FOO_SOURCE.  Also fix several namespace
pollution issues, including the byte order defines.  OK deraadt@

revision 1.11/ (Download) - annotate - Wed, 09 Jun 2004 17:32:10 UTC by millert
OpenBSD release(s): 38 37 36
Changes since 1.10: +3 -3 (diff)
According to POSIX, _POSIX_PATH_MAX should be 256 but _POSIX_SYMLINK_MAX
should only be 255.  You would think they would be the same but you'd be
wrong.

revision 1.10/ (Download) - annotate - Mon, 31 May 2004 18:34:41 UTC by millert
Changes since 1.9: +2 -2 (diff)
Define _POSIX_SYMLINK_MAX and SYMLINK_MAX as _POSIX_PATH_MAX and PATH_MAX
respectively instead of duplicating their values.

revision 1.9/ (Download) - annotate - Mon, 31 May 2004 18:31:52 UTC by millert
Changes since 1.8: +6 -3 (diff)
Updates based on Single Unix; OK deraadt@
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)

revision 1.8/ (Download) - annotate - Mon, 02 Jun 2003 19:34:12 UTC by millert
OpenBSD release(s): 35 34
Changes since 1.7: +2 -6 (diff)
Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

revision 1.7/ (Download) - annotate - Wed, 24 Apr 2002 21:53:11 UTC by espie
OpenBSD release(s): 33 32
Changes since 1.6: +2 -2 (diff)
Introduce a new file, machine/internal_types.h, to hold that specific arch
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.

revision 1.6/ (Download) - annotate - Fri, 20 Nov 1998 11:18:25 UTC by d
OpenBSD release(s): 31 30 29 28 27 26 25
Changes since 1.5: +9 -1 (diff)
Add thread-safety to libc, so that libc_r will build (on i386 at least).
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

revision 1.5/ (Download) - annotate - Sat, 11 Jul 1998 06:02:44 UTC by deraadt
OpenBSD release(s): 24
Changes since 1.4: +7 -4 (diff)
provide TMP_MAX like stdio.h; kleink

revision 1.4/ (Download) - annotate - Sun, 21 Sep 1997 10:45:39 UTC by niklas
OpenBSD release(s): 23 22
Changes since 1.3: +1 -0 (diff)
Well, as we are heading for a release people are encouraged to rebuild their
entire trees for testing anyway, I might as well do this intrusive touching
of include files now.  Added openBSD tags.

revision 1.3/ (Download) - annotate - Sat, 26 Oct 1996 03:12:45 UTC by tholo
OpenBSD release(s): 21
Changes since 1.2: +2 -2 (diff)
Correct a typo in _POSIX_SSIZE_MAX
Correct _POSIX_ARG_MAX; it should define the minimum allowed argument size,
not the supported on (we have sysconf for that)

revision 1.2/ (Download) - annotate - Fri, 30 Aug 1996 01:57:18 UTC by deraadt
OpenBSD release(s): 20
Changes since 1.1: +1 -1 (diff)
_POSIX_ARG_MAX 256k after consulting with thorsten

revision 1.1/ (Download) - annotate - Wed, 18 Oct 1995 08:41:12 UTC by deraadt
Branch point for: 1.1.1.1
Initial revision

revision 1.1.1.1/ (Download) - annotate - Wed, 18 Oct 1995 08:41:12 UTC by deraadt
Tags: netbsd_1_1
Changes since 1.1: None
initial import of NetBSD tree