History log of /openbsd/include/limits.h (Results 1 – 19 of 19)
Revision Date Author Comments
# 7a4e5fc4 20-Jan-2015 tedu <tedu@openbsd.org>

increase TMP_MAX to the equivalent of INT_MAX. it's actually more,
but safer not to wraparound by accident.
ok deraadt millert miod


# 5b8036b3 01-Mar-2013 guenther <guenther@openbsd.org>

Add _POSIX_CLOCKRES_MIN and _POSIX2_CHARCLASS_NAME_MAX per POSIX 1003.1-2008

ports build tested by espie@


# 51e5ef5d 17-Feb-2013 guenther <guenther@openbsd.org>

Fix typo that hid PASS_MAX, TMP_MAX, NL_NMAX, and _XOPEN_{IOV,NAME,PATH}_MAX
defines.

ok deraadt@ millert@


# e3d7c70a 30-Jun-2012 guenther <guenther@openbsd.org>

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_NGR

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@

show more ...


# ac8ea607 10-Feb-2008 kettenis <kettenis@openbsd.org>

Define _POSIX_TZNAME_MAX to 6 if the user requested POSIX 1003.1-2001.

ok millert@


# 8729246f 02-Feb-2008 kettenis <kettenis@openbsd.org>

Define _POSIX_HOST_NAME_MAX and HOST_NAME_MAX.

ok krw@, laurent@


# 3fbcb92b 31-Dec-2005 millert <millert@openbsd.org>

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@


# 52a0e603 13-Dec-2005 millert <millert@openbsd.org>

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 deraad

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@

show more ...


# 3492c5b9 09-Jun-2004 millert <millert@openbsd.org>

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.


# 753f64e2 31-May-2004 millert <millert@openbsd.org>

Define _POSIX_SYMLINK_MAX and SYMLINK_MAX as _POSIX_PATH_MAX and PATH_MAX
respectively instead of duplicating their values.


# fbc49bc6 31-May-2004 millert <millert@openbsd.org>

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_SYML

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)

show more ...


# e33d3bd3 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 5733d2de 24-Apr-2002 espie <espie@openbsd.org>

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]* na

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.

show more ...


# 92efb735 20-Nov-1998 d <d@openbsd.org>

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 sp

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

show more ...


# 20ff08b7 11-Jul-1998 deraadt <deraadt@openbsd.org>

provide TMP_MAX like stdio.h; kleink


# 5ea2d675 21-Sep-1997 niklas <niklas@openbsd.org>

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.


# baa72792 26-Oct-1996 tholo <tholo@openbsd.org>

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)


# 3f2e75c1 30-Aug-1996 deraadt <deraadt@openbsd.org>

_POSIX_ARG_MAX 256k after consulting with thorsten


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree