summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* This is David Schultz's swapoff code which I am finally able to commit.Matthew Dillon2002-12-151-0/+1
| | | | | | | | | | This should be considered highly experimental for the moment. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 3 weeks Notes: svn path=/head/; revision=107913
* Don't install old LOMAC include files; do install new mac_lomacRobert Watson2002-12-031-1/+1
| | | | | | | | | | | include files. Approved by: re (jhb) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=107547
* Align the comment with functionality changes from previous revision.Ruslan Ermilov2002-11-251-4/+3
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107223
* Re-enable installing of Bluetooth include filesJulian Elischer2002-11-211-2/+2
| | | | | | | Hopefully this time it works right.. Who understands this stuff? Notes: svn path=/head/; revision=107151
* Temporarily remove the install of bluetooth include files..Julian Elischer2002-11-211-1/+2
| | | | | | | | something "VERY WIERD" happens to them during buildworld.. The sources get replaced by symlinks to themselves (!?) Notes: svn path=/head/; revision=107139
* Populate with bluetooth includesJulian Elischer2002-11-211-0/+1
| | | | Notes: svn path=/head/; revision=107124
* libc header files are normally in src/include. Therefore, uuid.h hasMarcel Moolenaar2002-11-181-14/+10
| | | | | | | | | | | | | been repo-copied from src/lib/libc/uuid to src/include. Update the makefiles. While in src/include/Makefile, reformat and resort INCS. Reverting the functional change only involves removing uuid.h. Pompted by: ru Notes: svn path=/head/; revision=107046
* Fix XSI (X/Open) namespace support.Mike Barcroft2002-11-121-11/+18
| | | | Notes: svn path=/head/; revision=106812
* Wrap function prototype declarations in __BEGIN_DECLS to do the right thingJuli Mallett2002-11-051-0/+2
| | | | | | | | | with them in non-C cases. Requested by: Patrick Hartling <patrick@137.org> Notes: svn path=/head/; revision=106452
* Implement DCE 1.1 compliant UUID functions. Immediate use of theseMarcel Moolenaar2002-10-301-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | functions is expected for uuidgen(1), mca(8) and gpt(8). Given the generic use of UUIDs beyond the scope of the DCE 1.1 specification, visibility of the data structure at all levels of the machine, including firmware and the wish to not create a permanent build- time FreeBSD-ism for DCE compliant applications by creating a new library, it was decided that libc would be the least inappropriate place. Also, because the UUID functions live in libc under IRIX as well, we have maximized our portability and left as many options open as possible. This implementation introduces an extension not found in the specification: the status parameter is allowed to be a NULL- pointer. The reason for introducing the extension is because the status is almost never of any use. The manpage that's part of this commit is a minimal place-holder and is further fleshed-out in the near future. Approved by: re@ Contributed by: Hiten Mahesh Pandya <hiten@unixdaemons.com> Sponsored by: marcel :-) Tested on: alpha, i386, ia64 Notes: svn path=/head/; revision=106184
* Create a small library function, check_utility_compat(3), to determineGarrett Wollman2002-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. Notes: svn path=/head/; revision=106065
* Update limits and configuration parameters for 1003.1/TC1/D6.Garrett 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.) Notes: svn path=/head/; revision=106055
* Correct visibility for v*wscanf(), wcstoll() and wcstoull(). These functionsTim J. Robbins2002-10-271-9/+16
| | | | | | | | did not exist in ISO C Amd. 1. Add #ifdef __LONG_LONG_SUPPORTED and lint comments around wcstoll() and wcstoull(). Notes: svn path=/head/; revision=106035
* Prototype for pthread_attr_get_np().Alexey Zelkin2002-10-261-0/+1
| | | | Notes: svn path=/head/; revision=105987
* Install mac_partition include files.Robert Watson2002-10-241-1/+1
| | | | | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=105875
* Make the first argument of getbsize a size_t* instead of an int*, as this is ↵Mark Murray2002-10-231-1/+1
| | | | | | | what the quantity actually is. Fix an easy const while I'm here. Notes: svn path=/head/; revision=105797
* fix pthread_suspend/resume_all_np() declarationsMax Khon2002-10-221-2/+2
| | | | | | | Approved by: deischen Notes: svn path=/head/; revision=105727
* Install the include files in sys/dev/ofw.Thomas Moestl2002-10-181-1/+1
| | | | Notes: svn path=/head/; revision=105400
* install "fast ipsec" include filesSam Leffler2002-10-181-1/+1
| | | | Notes: svn path=/head/; revision=105376
* - Remove the lsearch() and lfind() functions and their manpage fromRobert Drehmel2002-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. Notes: svn path=/head/; revision=105250
* - Remove the old insque() and remque() functions and their manualRobert Drehmel2002-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. Notes: svn path=/head/; revision=105245
* Fixed style bug near $FreeBSD$. VCS ids in copyrights should not beBruce Evans2002-10-161-1/+0
| | | | | | | separated by a blank line. Notes: svn path=/head/; revision=105208
* Correct visibility conditionals for memccpy(), strdup(), andMike Barcroft2002-10-141-18/+29
| | | | | | | strtok_r(). Merge conditional prototypes into the regular block. Notes: svn path=/head/; revision=105128
* o Move forward declaration for struct timespec to a more appropriateMike Barcroft2002-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 Notes: svn path=/head/; revision=105107
* Use a weak reference instead of a macro to make vfscanf an aliasTim J. Robbins2002-10-141-11/+2
| | | | | | | for __vfscanf. Notes: svn path=/head/; revision=105098
* Move the _POSIX_VERSION constant from <unistd.h> to <sys/unistd.h>, soMike Barcroft2002-10-131-2/+1
| | | | | | | that it can be used in-kernel for a sysctl. Notes: svn path=/head/; revision=105045
* Assume POSIX/XSI is always visible in the __BSD_VISIBLE case. Fix aMike Barcroft2002-10-131-5/+8
| | | | | | | mix-up with siginterrupt(). Notes: svn path=/head/; revision=105013
* Add restrict type-qualifier.Mike Barcroft2002-10-122-18/+13
| | | | Notes: svn path=/head/; revision=104989
* Zap the early-adopter transition aid before we get into seriousPeter Wemm2002-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. Notes: svn path=/head/; revision=104941
* Add support for the 6 new C99 struct lconv members dealing with formattingTim J. Robbins2002-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 Notes: svn path=/head/; revision=104711
* Remove duplicate uninstalled aio.h header.Mike Barcroft2002-10-071-2/+1
| | | | Notes: svn path=/head/; revision=104634
* o Move location of the fpos_t typedef to be closer to other typedefs.Mike Barcroft2002-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. Notes: svn path=/head/; revision=104585
* o Use relatively new visibility primitives from <sys/cdefs.h>.Mike Barcroft2002-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>). Notes: svn path=/head/; revision=104582
* Make stpcpy() only visiable w/in __BSD_VISIBLE.David E. O'Brien2002-10-051-1/+1
| | | | Notes: svn path=/head/; revision=104544
* Fix namespace issues by using visibility conditionals fromMike Barcroft2002-10-051-13/+13
| | | | | | | <sys/cdefs.h>. Sort function prototypes. Notes: svn path=/head/; revision=104506
* install sys/opencrypto include files in /usr/include/cryptoSam Leffler2002-10-041-1/+6
| | | | Notes: svn path=/head/; revision=104489
* Add a placeholder implementation of wcscoll() and wcsxfrm() which givesTim J. Robbins2002-10-041-0/+2
| | | | | | | | locale-sensitive collation only in single-byte locales, and just does binary comparison for the others with extended character sets. Notes: svn path=/head/; revision=104443
* Add stpcpy(3).David E. O'Brien2002-10-031-0/+1
| | | | Notes: svn path=/head/; revision=104420
* Cope with a GCC bug by using an alternative, but equivalent functionMike Barcroft2002-10-031-1/+6
| | | | | | | | | prototype for regexec(). Noticed by: robert Notes: svn path=/head/; revision=104416
* Fix various style(9) bugs:Mike Barcroft2002-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. Notes: svn path=/head/; revision=104399
* Add the 'restrict' type qualifier to the prototypes of `sigaction',Robert Drehmel2002-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. Notes: svn path=/head/; revision=104368
* o Add typedef for size_t.Mike Barcroft2002-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. Notes: svn path=/head/; revision=104356
* Add prototypes for rstat(3) and havedisk(3).Alfred Perlstein2002-10-011-0/+7
| | | | | | | | Requested by: kris, Emil Mikulic <emikulic@optushome.com.au> MFC After: 1 day Notes: svn path=/head/; revision=104311
* test -h is deprecated; use -L instead.Ruslan Ermilov2002-10-011-1/+1
| | | | | | | PR: bin/40846 Notes: svn path=/head/; revision=104288
* Merged all interesting difference between the old math.h and the currentBruce Evans2002-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 Notes: svn path=/head/; revision=104280
* Don't install mqueue.h, since it only makes things harder for portingMike Barcroft2002-09-301-2/+3
| | | | | | | software when you provide prototypes for non-existent functions. Notes: svn path=/head/; revision=104219
* Add getopt_long(3).Eric Melville2002-09-292-1/+75
| | | | | | | | Obtained from: NetBSD Sponsored by: Apple Notes: svn path=/head/; revision=104128
* Remove masking macros for getwc(), putwc(), putwchar() and getwchar().Tim J. Robbins2002-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. Notes: svn path=/head/; revision=104080
* Back down to 1003.2-1992 for the time being -- it is causing too manyGarrett Wollman2002-09-251-1/+1
| | | | | | | headaches for common but deprecated uses of standard utilities. Notes: svn path=/head/; revision=103929
* Add forgotten <sys/_types.h> include. Fix some style bugs while I'mMike Barcroft2002-09-241-39/+40
| | | | | | | | | here. PR: 43326 Notes: svn path=/head/; revision=103899