#
39ef54bd |
| 30-Apr-2015 |
millert <millert@openbsd.org> |
Remove SIZE_MAX from limits.h. It was added years ago before we had a proper stdint.h. No ports fallout. OK guenther@ miod@
|
#
8bc47e72 |
| 07-Aug-2013 |
kettenis <kettenis@openbsd.org> |
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@, mat
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@
show more ...
|
#
f938f41d |
| 27-Nov-2009 |
guenther <guenther@openbsd.org> |
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
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@
show more ...
|
#
e1f195af |
| 06-Jan-2006 |
millert <millert@openbsd.org> |
Don't redefine SIZE_MAX
|
#
7c2ef5d9 |
| 14-Dec-2005 |
millert <millert@openbsd.org> |
convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@
|
#
6a1aaa0f |
| 15-Sep-2002 |
deraadt <deraadt@openbsd.org> |
backout premature
|
#
e1f7838a |
| 15-Sep-2002 |
deraadt <deraadt@openbsd.org> |
KNF
|
#
a7224839 |
| 30-Jul-2002 |
millert <millert@openbsd.org> |
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
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
show more ...
|
#
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 ...
|
#
52c13d20 |
| 01-Sep-2001 |
drahn <drahn@openbsd.org> |
The "powerpc" port which has supported the newer Apple Macintosh powerpc based is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms.
Most of t
The "powerpc" port which has supported the newer Apple Macintosh powerpc based is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms.
Most of the work involved in the renaming process was performed by miod@
Files moved from powerpc/include to macppc/include Some files were not "moved" but wrapper files were created which include the powerpc/include version.
Several of the powerpc/include files where changed to reflect that they are POWERPC_* not MACHINE_*.
show more ...
|
#
8b68064b |
| 31-Jul-2000 |
millert <millert@openbsd.org> |
Add defines for ULLONG_MAX, LLONG_MAX, and LLONG_MIN in terms of UQUAD_MAX, QUAD_MAX, and QUAD_MIN respectively.
|
#
e6978144 |
| 20-Mar-2000 |
rahnds <rahnds@openbsd.org> |
Make float.h and limits.h agree for DBL_MIN and DBL_MAX.
|
#
33e1eb7f |
| 06-Aug-1998 |
pefo <pefo@openbsd.org> |
Some small fixes for non ofw systems
|
#
ad7c88d8 |
| 22-Mar-1998 |
millert <millert@openbsd.org> |
Add UID_MAX and GID_MAX
|
#
f33a460b |
| 13-Oct-1997 |
pefo <pefo@openbsd.org> |
Monolithic PowerPC kernel, new include
|
#
7c39cecd |
| 24-Jul-1997 |
deraadt <deraadt@openbsd.org> |
multiple inclusion protection; brenner@umr.edu
|
#
a8c43157 |
| 28-Dec-1996 |
rahnds <rahnds@openbsd.org> |
adding OpenBSD tag to files.
|
#
47bc79e1 |
| 21-Dec-1996 |
rahnds <rahnds@openbsd.org> |
Check-in of powerpc kernel support. NOTE: This will not work until the other pieces are checked in. This is primarily the NetBSD powerpc port, with modifications to support ELF.
|