summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Add prototypes for rstat(3) and havedisk(3).alfred2002-10-011-0/+7
| | | | | Requested by: kris, Emil Mikulic <emikulic@optushome.com.au> MFC After: 1 day
* test -h is deprecated; use -L instead.ru2002-10-011-1/+1
| | | | PR: bin/40846
* Merged all interesting difference between the old math.h and the currentbde2002-10-011-124/+0
| | | | | | | | | | | | | one into the latter and removed the former. This works around the bug that some broken Makefiles add -I.../src/include to CFLAGS, resulting in the old math.h being preferred and differences between the headers possibly being fatal. The merge mainly involves declaring some functions as __pure2 although they are not yet all strictly free of side effects. PR: 43544
* Don't install mqueue.h, since it only makes things harder for portingmike2002-09-301-2/+3
| | | | software when you provide prototypes for non-existent functions.
* Add getopt_long(3).eric2002-09-292-1/+75
| | | | | Obtained from: NetBSD Sponsored by: Apple
* Remove masking macros for getwc(), putwc(), putwchar() and getwchar().tjr2002-09-281-5/+0
| | | | | | Although there was nothing wrong with getwc() and putwc(), getwchar() and putwchar() assumed that <stdio.h> had been included before <wchar.h>, which is not allowed by the standard.
* Back down to 1003.2-1992 for the time being -- it is causing too manywollman2002-09-251-1/+1
| | | | headaches for common but deprecated uses of standard utilities.
* Add forgotten <sys/_types.h> include. Fix some style bugs while I'mmike2002-09-241-39/+40
| | | | | | here. PR: 43326
* o Move select() helper macros from <sys/types.h> to <sys/select.h>.mike2002-09-231-0/+5
| | | | | | | | | | o Include <sys/select.h> from <sys/types.h> in the __BSD_VISIBLE case, so applications and base software can be slowly updated. o Prototype select() in <sys/select.h>. It was previously only prototyped in <unistd.h>. o Add some XXX's to <sys/types.h>. Reviewed by: -standards
* Add implementations of wscanf() and related functions: fwscanf(), swscanf(),tjr2002-09-231-0/+8
| | | | | vfwscanf(), vswscanf(), vwscanf(). As the name suggests, these are wide- character versions of the scanf() family of functions.
* Add the remaining C99 wide character string to integer conversion functions.tjr2002-09-222-10/+8
| | | | | Restrict qualifiers were added to the existing prototypes in <inttypes.h> and the typedef for wchar_t was removed.
* Whitespace cleanup (half for fixing missing whitespace before `__restrict'bde2002-09-211-20/+21
| | | | | | again). Removed the second pair of banal comments about `quot' and `rem'.
* Whitespace fixes (mainly for a space instead of a tab after #define).bde2002-09-211-18/+20
|
* Add implementations of the wprintf() family of functions, which performtjr2002-09-211-0/+9
| | | | formatted wide-character output.
* Restrict visibility of wcslcat() and wcslcpy() to the __BSD_VISIBLE case.tjr2002-09-211-2/+5
|
* Define constants for those POSIX options and option groups which arewollman2002-09-211-18/+237
| | | | | | | | | | | | | | | | | (or would be) implemented (or not) exclusively in user-land. A threads expert should check over the values I have set to make sure that they correctly reflect reality. Move all sysconf() keys here from <sys/unistd.h> as they are not implemented in the kernel. Add new keys from 1003.1-2001 final text. (Some additional keys are expected in TC1.) Add some protection against redundant declarations between <stdlib.h> and <unistd.h> for some functions which XSI requires in the former and BSD traditionally declares in the latter. Restrict qualifiers and other changes from 1003.1-2001 have not been made to the functions prototyped here. (3 of 5)
* Use new visibility macros. Reorder some disordered declarations. Addwollman2002-09-211-52/+104
| | | | | | new 1003.1-2001 declarations, commented out in cases where we do not implement the function. Note that strtoq() and strtouq() are slated for deletion in 6.0. (2 of 5)
* Use new visibility macros. (1 of 5)wollman2002-09-211-10/+10
|
* Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the structwollman2002-09-211-3/+10
| | | | | | | | | | | | | | | | hack, thereby allowing future extensions to the structure (e.g., for extended attributes) without rebreaking the ABI. FTSENT now contains a pointer to the parent stream, which fts_compar() can then take advantage of, avoiding the undefined behavior previously warned about. As a consequence of this change, the prototype of the comparison function passed to fts_open() has changed to reflect the required amount of constness for its use. All callers in the tree are updated to use the correct prototype. Comparison functions can now make use of the new parent pointer to access the new stream-specific private data pointer, which is intended to assist creation of reentrant library routines which use fts(3) internally. Not objected to in spirit by: -arch
* Fix an error which prevented ssize_t from becoming defined. Addmike2002-09-201-3/+3
| | | | restrict type-qualifier.
* Add dev/iicbus and dev/smbus to LSUBDIRS listpeter2002-09-191-1/+2
|
* Install _semaphore.h.alfred2002-09-191-1/+1
|
* style(9): tab after #define.mike2002-09-181-12/+12
|
* o Don't include <nl_types.h>, instead provide a typedef for nl_item.mike2002-09-181-1/+11
| | | | | o Use relatively new visibility primitives to conditionalize some constants.
* Move definition of nl_item type to <sys/_types.h>, so that it can bemike2002-09-181-1/+5
| | | | shared.
* Use relatively new visibility primitives for conditionals. Documentmike2002-09-181-6/+13
| | | | unimplemented functions.
* style(9): line up function namesmike2002-09-171-8/+8
|
* Use the relatively new visibility primitives for conditionals.mike2002-09-171-3/+3
|
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-171-4/+0
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* 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().
OpenPOWER on IntegriCloud