summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Add wcstod() as a wrapper around strtod(). It does not handle any characterstjr2002-09-151-0/+1
| | | | that strtod() does not (alternate digit characters, etc. are not handled).
* Style: tab between #define and macro name.tjr2002-09-121-4/+4
|
* Protect arguments to the putwc and putwchar macros with parens.tjr2002-09-121-2/+2
|
* Add an implementation of wcsftime() (wide character version of strftime()).tjr2002-09-111-0/+3
|
* Conditionalize some objects to match the functions that they are usedmike2002-09-111-2/+5
| | | | with. Enable `restrict' type-qualifier.
* Fix some style bugs:mike2002-09-101-30/+32
| | | | | | o Space used instead of a tab after `#define' and `typedef'. o Sentences not ended with a period. o Unaligned function names and other spacing issues.
* Fix namespace issues by using the relatively new visibilitymike2002-09-101-17/+30
| | | | primitives.
* Replace FILE with struct __sFILE in the prototypes for the wide charactertjr2002-09-101-10/+10
| | | | | | I/O functions to avoid having to bring in pollution from <stdio.h>. Suggested by: bde
* Without fixing the namespace issues, add prototypes for the new _Exit()wollman2002-09-101-2/+5
| | | | and qsort_r() functions. Fix one other missorted declaration.
* Remove the typedef of wctype_t from this header; we don't support thetjr2002-09-091-5/+0
| | | | | XSI mistake of making everything from <wctype.h> visible here. If we did choose to support it, we could just #include <wctype.h>.
* Solve the <runetype.h> pollution problem by disabling inlinemike2002-09-092-8/+32
| | | | | optimizations when a standard has been requested, except when the inline optimizations are also specifically requested.
* style(9): line up function names.mike2002-09-091-13/+14
|
* Add wcstol() and wcstoul(), based on strtol() and strtoul().tjr2002-09-081-0/+3
|
* Add an implementation of wcstok(), based on strtok_r().tjr2002-09-071-0/+2
|
* Add restrict qualifiers to wcsstr()'s arguments.tjr2002-09-071-1/+1
|
* Style: One space between "restrict" qualifier and "*".tjr2002-09-067-29/+29
|
* o Fix namespace scope issues in <ctype.h> by using the relatively newmike2002-09-064-44/+72
| | | | | | | | | | | | visibility primitives. o Implement _tolower() and _toupper() POSIX.1-2001 (XSI) macros in <ctype.h>. o Reduce pollution in <runetype.h> by removing typedefs and using implementation namespaced types. o Add a typedef in <rune.h> to compensate for <runetype.h> losing its typedefs. Reviewed by: bde
* remove #pragma identalfred2002-09-041-2/+0
|
* Now that _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ are the same on allmike2002-09-031-4/+2
| | | | | architectures, move the definition directly into <time.h> and finish the removal of <machine/ansi.h>.
* Be more explicit about a namespace by using the relatively newmike2002-09-011-1/+1
| | | | visibility primitives.
* Add restrict qualifiers to the arguments of mbstowcs, mbtowc() andtjr2002-09-011-3/+3
| | | | wcstombs().
* Add time_t typedef for POSIX compatibility, move an include.mike2002-08-241-2/+8
|
* Use sys/nlist_aout.h for shared-with-kernel definitions.peter2002-08-221-69/+1
|
* Use sys/link_elf.h or sys/link_aout.h based on compile environmentpeter2002-08-221-284/+3
|
* o Merge <machine/ansi.h> and <machine/types.h> into a new headermike2002-08-2123-196/+197
| | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien
* Restrict visibility of wcwidth() and wcswidth(); they are XSI extensions.tjr2002-08-201-2/+5
|
* Sort unsorted prototypesache2002-08-191-1/+1
|
* Activate (uncomment) wcwidth() and wcswidth() now implementedache2002-08-191-3/+0
|
* Move internal defines from here to libc/locale/wcwidth.cache2002-08-192-6/+0
|
* Properly define SWIDTH1, add autowidth (was SWIDTH1)ache2002-08-192-2/+4
|
* Implement the ISO C90 Amd.1 restartable wide and multibyte charactertjr2002-08-181-9/+0
| | | | | manipulation functions mbrlen(), mbrtowc(), mbsinit(), mbsrtowcs(), wcrtomb(), wcsrtombs().
* Change a POSIX conditional to use the new __BSD_VISIBLE macro.mike2002-08-161-11/+11
| | | | | | | | | | | | | Fix the following style bugs: o #ifdef, #ifndef, and #undef should be followed by a space, not a tab. o The second level of indentation in prototypes is 4 characters even when the function names are indented 1 extra character. o Type qualifiers that appear next to a * need a seperating space so that the qualifier isn't easily confused with parameter names. (eg. `char * __restrict' instead of `char *__restrict') Submitted by: bde (mostly)
* Add swidth definition for wchar stuffkeichii2002-08-162-0/+12
| | | | | | | Submitted by: clkao@clkao.org Reviewed by: keichii Obtained from: NetBSD MFC after: 1 month
* add a check for GNUC < 3 to typedef bool because gcc 3 always seems toalfred2002-08-161-1/+1
| | | | | | define it. Suggested by: tjr
* - For compliance with IEEE Std 1003.1-2001, add the 'restrict'robert2002-08-151-6/+9
| | | | | | qualifier to function prototypes and definitions where appropriate using the '__restrict' macro. - Update the manual page.
* - Introduce the 'restrict' qualifier to function prototypes androbert2002-08-151-4/+4
| | | | | definitions to comply with IEEE Std 1003.1-2001. - Update the manual pages.
* - Add the 'restrict' qualifier to the function prototypes androbert2002-08-152-7/+7
| | | | | | | | definitions of the functions that convert strings to numbers and are defined by IEEE Std 1003-1.2001. - Use ANSI-C function definitions for all of the functions mentioned above plus strtouq and strtoq. - Update the prototypes in the manual pages.
* - Add the 'restrict' qualifier to the function definitions androbert2002-08-141-2/+2
| | | | | | | | public prototypes of setbuf(3) and setvbuf(3) using the '__restrict' macro from <sys/cdefs.h> to be compliant with IEEE Std 1003.1-2001. - Replace the K&R with ANSI-C function definitions. - Bring the manual page up-to-date.
* - Add the 'restrict' qualifier to the function definition ofrobert2002-08-141-1/+2
| | | | | | | | | strftime(3) for IEEE Std 1003.1-2001 compliance and remove excessive usage of the 'const' qualifier that was neither present in the prototype in the publice header, nor in the local prototype just above the function definition. - Replace the K&R function definition with a ANSI-C one. - Update the prototype of strftime(3) in its manual page.
* - Add the C99 'restrict' qualifier using the '__restrict' macro torobert2002-08-141-1/+2
| | | | | function prototype and definition of strptime(3). - Update the manual page.
* - Add the 'restrict' qualifier to match the IEEE Std 1003.1-2001robert2002-08-141-1/+2
| | | | | | | prototype of the tdelete(3) function. - Remove duplicated space. - Use an ANSI-C function definition for tdelete(3). - Update the manual page.
* -Add the restrict required by IEEE Std 1003.1-2001 in formrobert2002-08-141-2/+3
| | | | | | | of our __restrict macro to the prototypes and function definitions of inet_pton and inet_ntop. - Use ANSI-C function argument lists. - Adjust the prototypes in the manual page.
* Basic support for wide character I/O: getwc(), fgetwc(), getwchar(),tjr2002-08-131-0/+22
| | | | putwc(), fputwc(), putwchar(), ungetwc(), fwide().
* Implement POSIX.1-2001 (XSI)'s ulimit(3).mike2002-08-082-1/+39
| | | | Submitted by: Kyle Martin <mkm@ieee.org>
* Sort prototypes by function name.tjr2002-08-061-10/+8
|
* Whitespace formatting changes: line up macro bodies, function names,tjr2002-08-062-46/+48
| | | | | | place tabs after #define and typedef. Sort typedefs by name. Requested by: mike
* Fix some style bugs.mike2002-08-051-10/+11
| | | | Submitted by: bde
* Implement the missing <wctype.h> functions: isw*() (iswalnum() etc.),tjr2002-08-051-6/+37
| | | | | | | | towlower() and towupper() required by ISO C90 Amd. 1. iswascii(), iswhexnumber(), iswideogram(), iswnumber(), iswphonogram(), iswrune() and iswspecial() have also been implemented for consistency with the BSD extensions in <ctype.h>.
* Implement POSIX.1-2001 (XSI)'s fmtmsg(3).mike2002-08-052-1/+73
|
* Change wctype_t to an unsigned type to avoid warnings.tjr2002-08-042-2/+2
|
OpenPOWER on IntegriCloud