1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 23:35:36 -08:00
Commit Graph

19 Commits

Author SHA1 Message Date
tedu
7a4e5fc41a increase TMP_MAX to the equivalent of INT_MAX. it's actually more,
but safer not to wraparound by accident.
ok deraadt millert miod
2015-01-20 22:09:50 +00:00
guenther
5b8036b337 Add _POSIX_CLOCKRES_MIN and _POSIX2_CHARCLASS_NAME_MAX per POSIX 1003.1-2008
ports build tested by espie@
2013-03-01 21:16:34 +00:00
guenther
51e5ef5d22 Fix typo that hid PASS_MAX, TMP_MAX, NL_NMAX, and _XOPEN_{IOV,NAME,PATH}_MAX
defines.

ok deraadt@ millert@
2013-02-17 22:09:54 +00:00
guenther
e3d7c70a1b 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@
2012-06-30 20:21:10 +00:00
kettenis
ac8ea6071f Define _POSIX_TZNAME_MAX to 6 if the user requested POSIX 1003.1-2001.
ok millert@
2008-02-10 09:59:54 +00:00
kettenis
8729246fec Define _POSIX_HOST_NAME_MAX and HOST_NAME_MAX.
ok krw@, laurent@
2008-02-02 15:31:31 +00:00
millert
3fbcb92b40 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@
2005-12-31 19:29:38 +00:00
millert
52a0e6034e 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@
2005-12-13 00:35:22 +00:00
millert
3492c5b9cd 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.
2004-06-09 17:32:10 +00:00
millert
753f64e24e Define _POSIX_SYMLINK_MAX and SYMLINK_MAX as _POSIX_PATH_MAX and PATH_MAX
respectively instead of duplicating their values.
2004-05-31 18:34:41 +00:00
millert
fbc49bc671 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)
2004-05-31 18:31:52 +00:00
millert
e33d3bd3b8 Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.
2003-06-02 19:34:12 +00:00
espie
5733d2de20 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.
2002-04-24 21:53:11 +00:00
d
92efb73507 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
1998-11-20 11:18:22 +00:00
deraadt
20ff08b79f provide TMP_MAX like stdio.h; kleink 1998-07-11 06:02:44 +00:00
niklas
5ea2d675e0 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.
1997-09-21 10:45:23 +00:00
tholo
baa727920c 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)
1996-10-26 03:12:45 +00:00
deraadt
3f2e75c1e7 _POSIX_ARG_MAX 256k after consulting with thorsten 1996-08-30 01:57:18 +00:00
deraadt
df930be708 initial import of NetBSD tree 1995-10-18 08:37:01 +00:00