summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed style bug near $FreeBSD$. VCS ids in copyrights should not bebde2002-10-161-1/+0
| | | | separated by a blank line.
* Correct visibility conditionals for memccpy(), strdup(), andmike2002-10-141-18/+29
| | | | strtok_r(). Merge conditional prototypes into the regular block.
* o Move forward declaration for struct timespec to a more appropriatemike2002-10-141-2/+14
| | | | | | | | | | | location. o Don't prototype functions for which we don't have an implementation. o Add forward declaration for struct __ucontext, previously this was forward declared in <sys/signal.h>. o Add a comment about the size of NSIG. PR: 35924 Submitted by: bde
* Use a weak reference instead of a macro to make vfscanf an aliastjr2002-10-141-11/+2
| | | | for __vfscanf.
* Move the _POSIX_VERSION constant from <unistd.h> to <sys/unistd.h>, somike2002-10-131-2/+1
| | | | that it can be used in-kernel for a sysctl.
* Assume POSIX/XSI is always visible in the __BSD_VISIBLE case. Fix amike2002-10-131-5/+8
| | | | mix-up with siginterrupt().
* Add restrict type-qualifier.mike2002-10-122-18/+13
|
* Zap the early-adopter transition aid before we get into seriouspeter2002-10-111-8/+0
| | | | | 5.0-R territory, as threatened. This only affects antique 5.0 systems that have not had a 'make world' done for well over a year.
* Add support for the 6 new C99 struct lconv members dealing with formattingtjr2002-10-091-0/+6
| | | | | | | | | international monetary values: int_p_cs_precedes, int_n_cs_precedes, int_p_sep_by_space, int_n_sep_by_space, int_p_sign_posn, int_n_sign_posn. This should not break existing binaries or LC_MONETARY data files. Reviewed by: ache MFC after: 1 month
* Remove duplicate uninstalled aio.h header.mike2002-10-071-2/+1
|
* o Move location of the fpos_t typedef to be closer to other typedefs.mike2002-10-061-14/+33
| | | | | | | | | | o Add typedef for va_list. o Add comment about missing restrict type-qualifiers. o Move vscanf(), vsscanf() and vfscanf() to the C99-visible block. o Add note about missing backing function for vfscanf(). o Restrict L_cuserid to only older versions of POSIX, and BSD namespaces. o Conditionalize some BSD-specific foo_unlock() macros.
* o Use relatively new visibility primitives from <sys/cdefs.h>.mike2002-10-061-16/+25
| | | | | | o Add typedef for pid_t. o Add comment about missing restrict type-qualifier. o Remove unneeded includes (<sys/_posix.h> and <sys/time.h>).
* Make stpcpy() only visiable w/in __BSD_VISIBLE.obrien2002-10-051-1/+1
|
* Fix namespace issues by using visibility conditionals frommike2002-10-051-13/+13
| | | | <sys/cdefs.h>. Sort function prototypes.
* install sys/opencrypto include files in /usr/include/cryptosam2002-10-041-1/+6
|
* Add a placeholder implementation of wcscoll() and wcsxfrm() which givestjr2002-10-041-0/+2
| | | | | locale-sensitive collation only in single-byte locales, and just does binary comparison for the others with extended character sets.
* Add stpcpy(3).obrien2002-10-031-0/+1
|
* Cope with a GCC bug by using an alternative, but equivalent functionmike2002-10-031-1/+6
| | | | | | prototype for regexec(). Noticed by: robert
* Fix various style(9) bugs:mike2002-10-031-12/+16
| | | | | | | | | | o Source ID's in wrong location. o Space used, instead of tab, after typedef. o Unaligned function prototype for twalk(). Other changes: o Add missing const qualifier in tfind(). o Add comment about missing functions.
* Add the 'restrict' type qualifier to the prototypes of `sigaction',robert2002-10-021-6/+7
| | | | | | `sigprocmask', `sigaltstack', and `sigwait' as well as to the prototypes of the apparantly unimplemented functions `sigtimedwait' and `sigwaitinfo'. This complies with IEEE Std 1003.1-2001.
* o Add typedef for size_t.mike2002-10-021-4/+11
| | | | | | o Fix regoff_t typedef to not require <sys/types.h> as a prerequisite (specifically use `__off_t' instead of `off_t'). o Add restrict type-qualifier to function prototypes.
* 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
OpenPOWER on IntegriCloud