summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add the ISO C90 Amd. 1 wctrans(3) and towctrans(3) functions.tjr2002-08-041-0/+7
|
* Add ISO C90 Amd. 1 btowc(3) and wctob(3) functions.tjr2002-08-031-0/+3
|
* Add ISO C90 Amd. 1 wctype(3) and iswctype(3) functions.tjr2002-08-032-3/+19
|
* Install MAC policy include files as part of the normal includesrwatson2002-08-021-2/+2
| | | | | | | install. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Implement the POSIX.1-2001 (XSI) header, <cpio.h>.mike2002-08-012-1/+56
|
* Remove duplicated '__BEGIN_DECLS' which obviated compilingrobert2002-07-211-1/+0
| | | | | | C++ sources that use this header. Reported by: Jan Stocker <Jan.Stocker@t-online.de>
* Update glob(3) to add all the POSIX required options, specifically:mikeh2002-07-171-4/+14
| | | | | | | | | | - add GLOB_NOMATCH return value and use it when we don't get a match - rename GLOB_ABEND to GLOB_ABORTED and use it instead of returning 1 in some places - add GLOB_NOESCAPE flag and retire GLOB_QUOTE to compatibility section Suggestions/advice on correct usage of POSIX defines: wollman
* Change utimes to set the file creation time (for filesystems thatmckusick2002-07-171-2/+2
| | | | | | | | support creation times such as UFS2) to the value of the modification time if the value of the modification time is older than the current creation time. See utimes(2) for further details. Sponsored by: DARPA & NAI Labs.
* Support POSIX/SUS ``programming environment'' mistake in confstr().wollman2002-07-151-0/+15
|
* Move _CS_PATH from <sys/unistd.h> to <unistd.h> -- the kernel isn't involvedwollman2002-07-151-0/+2
| | | | in confstr() processing.
* getopt(3) was also added in 1003.2-1992.wollman2002-07-151-4/+4
|
* Fix visibility:wollman2002-07-151-11/+14
| | | | | | | - symlink() is from 1003.1-2001 and XPG4.2 - fchown() is from 1003.1-2001 - fsync() is from ISO/IEC 9945-1:1995 - confstr() is from 1003.2-1992
* Clean up some of the rather strange structure and ordering of thiswollman2002-07-151-52/+67
| | | | | | | | file. Correct visibility conditions and order blocks of declarations in order of increasing inclusiveness. Note that [v]snprintf() is now in ISO C and f{seek,tell}o() are now in POSIX. Deprecated getw() and putw() are no longer visible in XSH6 namespace (and should probably be removed from BSD namespace as well).
* clnt_vc_create() has const scalar arguments that wind up being modified,alfred2002-07-141-1/+1
| | | | | | fix it (make them non-const) and update the associated documentation. Submitted by: mbr
* Correct _PATH_RCP to be /bin/rcp, not /usr/bin/rcp.sobomax2002-07-141-1/+1
|
* Add functions allowing for the user to specify a timeout for rpc functions.alfred2002-07-111-9/+67
| | | | | | Update copyrights to reflect where this code was lifted from. (tirpc '99) Submitted by: mbr
* Don't define wchar_t if we are a C++ compiler.obrien2002-07-095-0/+10
| | | | PR: 31864, 40084
* Move __offsetof() macro from <machine/ansi.h> to <sys/cdefs.h>. It'smike2002-07-081-0/+1
| | | | | | hardly MD, since all our platforms share the same macro. It's not really compiler dependent either, but this helps in reducing <machine/ansi.h> to only type definitions.
* Convince lint via the standard lint-comment /* LONGLONG */ to notmarkm2002-07-041-0/+5
| | | | whine about our (valid) "long long" usage.
* This header is for Solaris compatibility only (according to Davidmarkm2002-07-041-0/+4
| | | | O'Brien), so add a comment to that effect to remind folks.
* The thread-safe time functions appear to have been introduced as ofwollman2002-06-271-6/+7
| | | | | ISO 9945-1: 1996 (according to the change bars therein), which corresponds to 1003.1c-1995. Give them appropriate visibility protection.
OpenPOWER on IntegriCloud