Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.14 |
|
30-Apr-2015 |
millert |
Remove SIZE_MAX from limits.h. It was added years ago before we had a proper stdint.h. No ports fallout. OK guenther@ miod@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE
|
#
1.13 |
|
07-Aug-2013 |
kettenis |
We uniformly define size_t to be unsigned long and ssize_t to be long. Make sure that SIZE_MAX and SSIZE_MAX are defined as constants with a matching type on all are architectures.
ok millert@, matthew@
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.12 |
|
27-Nov-2009 |
guenther |
Move MB_LEN_MAX into the machine-independent sys/limits.h header, rather than defining it separately for each architecture. Also set it to 4, to accommodate for future UTF-8 support (rfc3629).
Diff by stsp, committing to catch the libc major bump
ok kettenis@, guenther@
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.11 |
|
06-Jan-2006 |
millert |
Don't redefine SIZE_MAX
|
#
1.10 |
|
14-Dec-2005 |
millert |
convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@
|
Revision tags: OPENBSD_3_7_BASE OPENBSD_3_8_BASE
|
#
1.9 |
|
05-Oct-2004 |
mickey |
the file is just a copy from 4.4bsd and thus ucb copyright is enough
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
|
#
1.8 |
|
02-Jun-2003 |
millert |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_SYNC_A UBC_SYNC_B
|
#
1.7 |
|
30-Jul-2002 |
millert |
Add SIZE_MAX define. This is the same as SIZE_T_MAX but more portable. The only OSes I've seen that use SIZE_T_MAX are 4.4BSD-derived whereas SYSV things seem to use SIZE_MAX. It is also consistent with SSIZE_MAX (which we already have). deraadt@ OK
|
#
1.6 |
|
24-Apr-2002 |
espie |
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.
|
#
1.5 |
|
20-Apr-2002 |
mickey |
CLK_TCK is not needed in the modern world; from espie@
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.4 |
|
05-Mar-2002 |
miod |
Provide a few more constants to get on par with other arches and get raidframe tools to compile; ok mickey@
|
#
1.3 |
|
04-Feb-2002 |
mickey |
missing L/UL; from netbsd
|
Revision tags: OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE UBC_BASE
|
#
1.2 |
|
31-Jul-2000 |
millert |
branches: 1.2.8; Add defines for ULLONG_MAX, LLONG_MAX, and LLONG_MIN in terms of UQUAD_MAX, QUAD_MAX, and QUAD_MIN respectively.
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE SMP_BASE kame_19991208
|
#
1.1 |
|
23-Jun-1998 |
mickey |
branches: 1.1.8; some includes
|