summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/limits.h
Commit message (Collapse)AuthorAgeFilesLines
* netchild's mega-patch to isolate compiler dependencies into a centraljoerg2005-03-021-1/+3
| | | | | | | | | | | | | | | | place. This moves the dependency on GCC's and other compiler's features into the central sys/cdefs.h file, while the individual source files can then refer to #ifdef __COMPILER_FEATURE_FOO where they by now used to refer to #if __GNUC__ > 3.1415 && __BARC__ <= 42. By now, GCC and ICC (the Intel compiler) have been actively tested on IA32 platforms by netchild. Extension to other compilers is supposed to be possible, of course. Submitted by: netchild Reviewed by: various developers on arch@, some time ago
* /* -> /*- for copyright notices, minor format tweaks as necessaryimp2005-01-061-1/+1
|
* Remove advertising clause from University of California Regent'simp2004-04-071-4/+0
| | | | | | | license, per letter dated July 22, 1999 and email from Peter Wemm, Alan Cox and Robert Watson. Approved by: core, peter, alc, rwatson
* sys/sys/limits.h:kan2003-05-191-1/+1
| | | | | | | | | | | | | | | - Fix visibilty test for LONG_BIT and WORD_BIT. `#if defined(__FOO_VISIBLE)' is alays wrong because __FOO_VISIBLE is always defined (to 0 for invisibility). sys/<arch>/include/limits.h sys/<arch>/include/_limits.h: - Style fixes. Submitted by: bde Reviewed by: bsdmike Approved by: re (scottl)
* Deprecate machine/limits.h in favor of new sys/limits.h.kan2003-04-291-63/+4
| | | | | | | Change all in-tree consumers to include <sys/limits.h> Discussed on: standards@ Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-2/+2
| | | | especially in troff files.
* MB_LEN_MAX is not MD, move it to the MI limits.h.tjr2002-12-221-1/+0
|
* Create a new header <machine/_stdint.h> for storing MD parts ofmike2002-07-291-109/+0
| | | | | | | | | <stdint.h>. Previously, parts were defined in <machine/ansi.h> and <machine/limits.h>. This resulted in two problems: (1) Defining macros in <machine/ansi.h> gets in the way of that header only defining types. (2) Defining C99 limits in <machine/limits.h> adds pollution to <limits.h>.
* o Add new header <sys/stdint.h>.mike2001-11-021-0/+108
| | | | | | | | | | | | | | | | | | | | | o Make <stdint.h> a symbolic link to <sys/stdint.h>. o Move most of <sys/inttypes.h> into <sys/stdint.h>, as per C99. o Remove <sys/inttypes.h>. o Adjust includes in sys/types.h and boot/efi/include/ia64/efibind.h to reflect new location of integer types in <sys/stdint.h>. o Remove previously symbolicly linked <inttypes.h>, instead create a new file. o Add MD headers <machine/_inttypes.h> from NetBSD. o Include <sys/stdint.h> in <inttypes.h>, as required by C99; and include <machine/_inttypes.h> in <inttypes.h>, to fill in the remaining requirements for <inttypes.h>. o Add additional integer types in <machine/ansi.h> and <machine/limits.h> which are included via <sys/stdint.h>. Partially obtain from: NetBSD Tested on: alpha, i386 Discussed on: freebsd-standards@bostonradio.org Reviewed by: bde, fenner, obrien, wollman
* OFF_T -> OFF (more standard style)ache2001-08-151-2/+2
|
* Add OFF_T_MAX/OFF_T_MINache2001-08-151-0/+3
|
* Our SHRT_MIN definition was actually 4 bits too big.obrien2000-11-041-1/+1
| | | | Submitted by: Bradley T. Hughes <bhughes@trolltech.com>
* * Update commentsobrien2000-10-241-20/+31
| | | | | | | * convert decimal constants to hex Submitted by: bde * Add ISO-C99 long long limits
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fixed style bugs in previous commit.bde1999-05-221-5/+5
|
* Set CHAR_{MIN,MAX} according to -funsigned-char flag given or notache1999-05-201-3/+9
| | | | | PR: 11627 Submitted by: Petr Lampa <lampa@fee.vutbr.cz>
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Don't define CLK_TCK here.bde1995-02-031-6/+3
| | | | Uniformize idempotency ifdef.
* Added $Id$dg1994-08-021-0/+1
|
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-251-23/+43
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* First pass at adding locale support. This code only deals with the LC_CTYPEwollman1994-04-041-3/+3
| | | | | | | | | | | | | | | | | | | | | class of locale data, but could be extended to handle other locale classes, as well as message catalogues and other non-locale i18n support. I have left the old _ctype_ array in place, and moved the ctype.h header to octype.h, so that existing shared binaries will still be able to find and use it as they require. See /usr/src/share/locale for information on how to create new locale data files (eventually this procedure will be improved). I'd like to have a family of locale files for various countries, languages, and character sets, so please contribute some. This code was originally written by Paul Borman and contributed to 4.4; I did the integration, and have somewhat tested it. crt0.c probably ought to call setlocale() if it doesn't already, but I'd like for people to create some locale files and try things manually first before I make every program do this.
* Bump CLK_TCK to more precise value (128)ache1994-02-261-2/+2
| | | | | If you want more precise, use directly getrusage(), because clock() emulated via it.
* adding libc/quad:alm1993-12-191-1/+8
| | | | | | added _QUAD_HIGH/LOW added (U_)QUAD_MAX/MIN (from NetBSD)
* Made all header files idempotent and moved incorrect common data fromwollman1993-11-071-1/+5
| | | | | headers into a related source file. Added cons.h as first step towards moving i386/i386/cons.h to machine/cons.h where it belongs.
* Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, somergrimes1993-10-161-1/+2
| | | | minor cleanup. Added $Id$ to files that did not have any version info, etc
* Initial import, 0.1 + pk 0.2.4-B1rgrimes1993-06-121-0/+57
OpenPOWER on IntegriCloud