summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Create a small library function, check_utility_compat(3), to determinewollman2002-10-281-0/+1
| | | | | | | | whether a named utility should behave in FreeBSD 4.x-compatible mode or in a standard mode (default standard). The configuration is done malloc(3)-style, with either an environment variable or a symlink. Update expr(1) to use this new interface.
* Update limits and configuration parameters for 1003.1/TC1/D6.wollman2002-10-272-6/+39
| | | | | | | | | | | Implement new sysconf keys. Change the implenentation of _SC_ASYNCHRONOUS_IO in preparation for the next set of changes. Move some limits which had been in <sys/syslimits.h> to <limits.h> where they belong. They had only ever been in syslimits.h to provide for the kernel implementation of the CTL_USER MIB branch, which went away with newsysctl years ago. (There is a #error in <sys/syslimits.h> which I will downgrade in the next commit.)
* Correct visibility for v*wscanf(), wcstoll() and wcstoull(). These functionstjr2002-10-271-9/+16
| | | | | did not exist in ISO C Amd. 1. Add #ifdef __LONG_LONG_SUPPORTED and lint comments around wcstoll() and wcstoull().
* Prototype for pthread_attr_get_np().phantom2002-10-261-0/+1
|
* Install mac_partition include files.rwatson2002-10-241-1/+1
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Make the first argument of getbsize a size_t* instead of an int*, as this is ↵markm2002-10-231-1/+1
| | | | what the quantity actually is. Fix an easy const while I'm here.
* fix pthread_suspend/resume_all_np() declarationsfjoe2002-10-221-2/+2
| | | | Approved by: deischen
* Install the include files in sys/dev/ofw.tmm2002-10-181-1/+1
|
* install "fast ipsec" include filessam2002-10-181-1/+1
|
* - Remove the lsearch() and lfind() functions and their manpage fromrobert2002-10-161-0/+4
| | | | | | | | | the compatibility library libcompat. - Add new implementations of lsearch() and lfind() which conform to IEEE Std 1003.1-2001 to libc. Add a new manual page for them and add them to the makefile. - Add function prototypes for lsearch() and lfind() to the search.h header.
* - Remove the old insque() and remque() functions and their manualrobert2002-10-161-3/+7
| | | | | | | | | page from the compatibility library. - Add new implementations of insque() and remque() which conform to IEEE Std 1003.1-2001 to libc. Add a new manual page for them and connect them to the build. - Add the prototypes of insque() and remque() to the search.h header.
* 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
|
OpenPOWER on IntegriCloud