aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 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
* o Move select() helper macros from <sys/types.h> to <sys/select.h>.Mike Barcroft2002-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 Notes: svn path=/head/; revision=103867
* Add implementations of wscanf() and related functions: fwscanf(), swscanf(),Tim J. Robbins2002-09-231-0/+8
| | | | | | | | vfwscanf(), vswscanf(), vwscanf(). As the name suggests, these are wide- character versions of the scanf() family of functions. Notes: svn path=/head/; revision=103856
* Add the remaining C99 wide character string to integer conversion functions.Tim J. Robbins2002-09-222-10/+8
| | | | | | | | Restrict qualifiers were added to the existing prototypes in <inttypes.h> and the typedef for wchar_t was removed. Notes: svn path=/head/; revision=103793
* Whitespace cleanup (half for fixing missing whitespace before `__restrict'Bruce Evans2002-09-211-20/+21
| | | | | | | | | again). Removed the second pair of banal comments about `quot' and `rem'. Notes: svn path=/head/; revision=103766
* Whitespace fixes (mainly for a space instead of a tab after #define).Bruce Evans2002-09-211-18/+20
| | | | Notes: svn path=/head/; revision=103762
* Add implementations of the wprintf() family of functions, which performTim J. Robbins2002-09-211-0/+9
| | | | | | | formatted wide-character output. Notes: svn path=/head/; revision=103739
* Restrict visibility of wcslcat() and wcslcpy() to the __BSD_VISIBLE case.Tim J. Robbins2002-09-211-2/+5
| | | | Notes: svn path=/head/; revision=103737
* Define constants for those POSIX options and option groups which areGarrett Wollman2002-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) Notes: svn path=/head/; revision=103729
* Use new visibility macros. Reorder some disordered declarations. AddGarrett Wollman2002-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) Notes: svn path=/head/; revision=103728
* Use new visibility macros. (1 of 5)Garrett Wollman2002-09-211-10/+10
| | | | Notes: svn path=/head/; revision=103727
* Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the structGarrett Wollman2002-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 Notes: svn path=/head/; revision=103726
* Fix an error which prevented ssize_t from becoming defined. AddMike Barcroft2002-09-201-3/+3
| | | | | | | restrict type-qualifier. Notes: svn path=/head/; revision=103667
* Add dev/iicbus and dev/smbus to LSUBDIRS listPeter Wemm2002-09-191-1/+2
| | | | Notes: svn path=/head/; revision=103589
* Install _semaphore.h.Alfred Perlstein2002-09-191-1/+1
| | | | Notes: svn path=/head/; revision=103577
* style(9): tab after #define.Mike Barcroft2002-09-181-12/+12
| | | | Notes: svn path=/head/; revision=103567
* o Don't include <nl_types.h>, instead provide a typedef for nl_item.Mike Barcroft2002-09-181-1/+11
| | | | | | | | o Use relatively new visibility primitives to conditionalize some constants. Notes: svn path=/head/; revision=103522
* Move definition of nl_item type to <sys/_types.h>, so that it can beMike Barcroft2002-09-181-1/+5
| | | | | | | shared. Notes: svn path=/head/; revision=103521
* Use relatively new visibility primitives for conditionals. DocumentMike Barcroft2002-09-181-6/+13
| | | | | | | unimplemented functions. Notes: svn path=/head/; revision=103515
* style(9): line up function namesMike Barcroft2002-09-171-8/+8
| | | | Notes: svn path=/head/; revision=103509
* Use the relatively new visibility primitives for conditionals.Mike Barcroft2002-09-171-3/+3
| | | | Notes: svn path=/head/; revision=103507
* Initiate deorbit burn for the i386-only a.out related support. Moves arePeter Wemm2002-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 Notes: svn path=/head/; revision=103436
* Add wcstod() as a wrapper around strtod(). It does not handle any charactersTim J. Robbins2002-09-151-0/+1
| | | | | | | that strtod() does not (alternate digit characters, etc. are not handled). Notes: svn path=/head/; revision=103339
* Style: tab between #define and macro name.Tim J. Robbins2002-09-121-4/+4
| | | | Notes: svn path=/head/; revision=103269
* Protect arguments to the putwc and putwchar macros with parens.Tim J. Robbins2002-09-121-2/+2
| | | | Notes: svn path=/head/; revision=103246
* Add an implementation of wcsftime() (wide character version of strftime()).Tim J. Robbins2002-09-111-0/+3
| | | | Notes: svn path=/head/; revision=103218