aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate machine/limits.h in favor of new sys/limits.h.Alexander Kabaev2003-04-291-1/+1
| | | | | | | | | | Change all in-tree consumers to include <sys/limits.h> Discussed on: standards@ Partially submitted by: Craig Rodrigues <rodrigc@attbi.com> Notes: svn path=/head/; revision=114216
* Add definitions for WCHAR_MIN and WCHAR_MAX.Alexander Kabaev2003-04-281-0/+6
| | | | Notes: svn path=/head/; revision=114185
* Add stub implementations of pthread_[gs]etconcurrency to libc_r andJohn Polstra2003-04-201-0/+2
| | | | | | | | | | | | libthr. No changes were made to libpthread by request of deischen, who will soon commit a real implementation for that library. PR: standards/50848 Submitted by: Sergey A. Osokin <osa@freebsd.org.ru> MFC after: 1 week Notes: svn path=/head/; revision=113729
* Revert the definitions of _PW_KEY* to their previous values. There isJacques Vidrine2003-04-181-8/+27
| | | | | | | | | | | | | at least one consumer outside of libc and pwd_mkdb. Adjust the versioning in libc and pwd_mkdb accordingly. named was the application affected, and that fact was first Reported by: Zherdev Anatoly <tolyar@mx.ru> Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=113666
* = Implement thread-safe versions of the getpwent(3) and getgrent(3)Jacques Vidrine2003-04-172-12/+35
| | | | | | | | | | | | | | | | | | | | | | | | | family of functions using the new nsdispatch(3) core. Remove arbitrary size limits when using the thread-safe versions. = Re-implement the traditional getpwent(3)/getgrent(3) functions on top of the thread-safe versions. = Update the on-disk format of the hashed version of the passwd(5) databases to allow for versioned entries. The legacy version is `3'. (Don't ask.) = Add support for version `4' entries in the passwd(5) database. Entries in this format are identical to version 3 entries except that all integers are stored as 32-bit integers in network byte order (big endian). = pwd_mkdb is updated to generate both version 3 and version 4 entries. Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=113596
* = Implement name service switch modules (NSS modules). NSS modulesJacques Vidrine2003-04-173-14/+133
| | | | | | | | | | | | | | | | | | | | | | | | may be built into libc (`static NSS modules') or dynamically loaded via dlopen (`dynamic NSS modules'). Modules are loaded/initialized at configuration time (i.e. when nsdispatch is called and nsswitch.conf is read or re-read). = Make the nsdispatch(3) core thread-safe. = New status code for nsdispatch(3) `NS_RETURN', currently used to signal ERANGE-type issues. = syslog(3) problems, don't warn/err/abort. = Try harder to avoid namespace pollution. = Implement some shims to assist in porting NSS modules written for the GNU C Library nsswitch interface. Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=113595
* Dynamic object dependency mapping: libmap.Matthew N. Dodd2003-04-071-0/+1
| | | | | | | | | | This is an optional feature, disabled by default. This will be useful to people testing the various POSIX threading libraries under -CURRENT but can easily serve other needs. Notes: svn path=/head/; revision=113229
* - Add setfstab() and getfstab().Matthew N. Dodd2003-04-071-0/+2
| | | | | | | | - Use the environment variable 'PATH_FSTAB' if set rather than the hardcoded '/etc/fstab' (fstab.h:_PATH_FSTAB) Notes: svn path=/head/; revision=113219
* - Define sigwait, sigtimedwait, and sigwaitinfo in terms ofJeff Roberson2003-03-311-1/+1
| | | | | | | | | kern_sigtimedwait() which is capable of supporting all of their semantics. - These should be POSIX compliant but more careful review is needed before we announce this. Notes: svn path=/head/; revision=112893
* MFp4: Implementations of the wcstof() and wcstold() functions.Tim J. Robbins2003-03-131-0/+3
| | | | Notes: svn path=/head/; revision=112177
* Replace our ancient dtoa/strtod implementation with the gdtoaDavid Schultz2003-03-121-3/+3
| | | | | | | | | | | | | | | | | | | | | package, a more recent, generalized set of routines. Among the changes: - Declare strtof() and strtold() in stdlib.h. - Add glue to libc to support these routines for all kinds of ``long double''. - Update printf() to reflect the fact that dtoa works slightly differently now. As soon as I see that nothing has blown up, I will kill src/lib/libc/stdlib/strtod.c. Soon printf() will be able to use the new routines to output long doubles without loss of precision, but numerous bugs in the existing code must be addressed first. Reviewed by: bde (briefly), mike (mentor), obrien Notes: svn path=/head/; revision=112163
* Clean up some signed/unsigned issues in the XDR code.Jacques Vidrine2003-03-071-1/+1
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=111962
* Drop netns from include file installationPeter Wemm2003-03-051-1/+1
| | | | Notes: svn path=/head/; revision=111924
* Eliminate 19 warnings in libc (at level WARNS=2) of theJacques Vidrine2003-02-271-0/+5
| | | | | | | `implicit declaration of function' variety. Notes: svn path=/head/; revision=111618
* Implement dlinfo() function.Alexander Kabaev2003-02-131-3/+34
| | | | | | | | | | | | | Introdice RTLD_SELF special handle and properly process it within dlsym() and dlinfo() functions. The intention is to improve our compatibility with Solaris and to make a Java port easier. Partially submitted by: phantom Notes: svn path=/head/; revision=110804
* Add pthread_attr_getstack() and pthread_attr_setstack().Alfred Perlstein2003-02-101-0/+4
| | | | | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com> Notes: svn path=/head/; revision=110636
* Install geom include files.Poul-Henning Kamp2003-02-081-1/+1
| | | | Notes: svn path=/head/; revision=110542
* unifdef -D_THREAD_SAFEMax Khon2003-01-241-4/+0
| | | | Notes: svn path=/head/; revision=109773
* In the absence of consensus as to implement stubs for these TSH-shadedGarrett Wollman2003-01-231-12/+0
| | | | | | | | | routines, remove their declarations. Even though rwlocks have the same functions, XBDft does not shade those declarations so I am leaving them in. (This is probably a bug in the Standard.) Notes: svn path=/head/; revision=109719
* o Move the contents of <machine/floatingpoint.h> over toMarcel Moolenaar2003-01-191-4/+2
| | | | | | | | | | | | | | | | | | <machine/ieeefp.h> where it belongs. o Remove the i386 specific inclusion of <machine/floatingpoint.h> from <ieeefp.h>, now that including <machine/ieeefp.h> is enough for all architectures. o Allow <machine/ieeefp.h> to inline the functions exposed by the headers by checking for _IEEEFP_INLINED_ in the MI header. When defined, prototypes are not given and it is assumed that the MD headers, when inlining only a subset of the functions provide prototypes for the functions not being inlined. Based on patch from: Terry Lambert <tlambert2@mindspring.com> Tested with: make release. Notes: svn path=/head/; revision=109520
* Sync with NetBSD -- sl_add() now returns an int.David E. O'Brien2003-01-191-1/+1
| | | | Notes: svn path=/head/; revision=109508
* MFCrypto: update RFC assigned telnet options (r1.9)Bill Fumerola2003-01-181-3/+8
| | | | Notes: svn path=/head/; revision=109467
* Implement non-blocking tcp-connections.Martin Blapp2003-01-162-1/+8
| | | | | | | | | Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day Notes: svn path=/head/; revision=109359
* Add prototypes for the non-standard _unlocked functions.Tim J. Robbins2003-01-131-0/+6
| | | | Notes: svn path=/head/; revision=109168
* No need to support UL_GETSIZE and UL_SETSIZE anymore; they are about to beTim J. Robbins2003-01-081-9/+0
| | | | | | | renamed in RELENG_5_0. Notes: svn path=/head/; revision=108910
* pthread_attr_get_np() now takes 'pthread_t' (not 'pthread_t *')Max Khon2003-01-071-1/+1
| | | | | | | to be consistent with other pthread_XXX functions Notes: svn path=/head/; revision=108898
* Rename UL_GETSIZE to UL_GETFSIZE and UL_SETSIZE to UL_SETFSIZE; these areTim J. Robbins2003-01-041-2/+11
| | | | | | | | the names required by 1003.1-2001. The old names are retained for source compatibility with FreeBSD 5.0 and will be removed before 6.0. Notes: svn path=/head/; revision=108637
* Bracket the prototype for ulimit() with __BEGIN_DECLS/__END_DECLSTim J. Robbins2003-01-041-0/+4
| | | | | | | so that it can be called from C++. Notes: svn path=/head/; revision=108634
* Describe WRDE_NOCMD in the same way that we describe the rest of the flags.Tim J. Robbins2003-01-031-1/+1
| | | | Notes: svn path=/head/; revision=108596
* Implement POSIX grantpt(3) functionality, and add a pt_chown utility (akinJuli Mallett2003-01-021-4/+4
| | | | | | | | | | | to Solaris, it is in /usr/libexec) to perform the handing over of tty nodes to the user being granted the pty. Submitted by: Ryan Younce <ryany@pobox.com> Reviewed by: security-officer@, standards@, mike@ Notes: svn path=/head/; revision=108574
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-014-4/+4
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* Back out the s/int */size_t */ commit.David E. O'Brien2002-12-301-1/+1
| | | | | | | | It makes a difference on 64-bit arches, and no one really wants a 2^64 block size [yet]. Notes: svn path=/head/; revision=108445
* Install /sys/dev/firewire/*.h under /usr/include/dev/firewireHidetoshi Shimokawa2002-12-301-2/+2
| | | | | | | for userland utilities. Notes: svn path=/head/; revision=108433
* o Add typedef for off_t, pid_t, and useconds_t.Mike Barcroft2002-12-291-6/+17
| | | | | | | | o Use useconds_t where appropriate. o Fix a bug in typedef for uid_t (5.0-R candidate). Notes: svn path=/head/; revision=108381
* Unbreak for the !__XSI_VISIBLE case when another header that definesTim J. Robbins2002-12-261-5/+5
| | | | | | | size_t has not been included first. Notes: svn path=/head/; revision=108291
* Add "restrict" qualifiers to the prototype for wordexp().Tim J. Robbins2002-12-261-1/+1
| | | | Notes: svn path=/head/; revision=108290
* Add the POSIX <wordexp.h> header file.Tim J. Robbins2002-12-262-1/+77
| | | | | | | PR: 13420 Notes: svn path=/head/; revision=108287
* MB_LEN_MAX is not MD, move it to the MI limits.h.Tim J. Robbins2002-12-221-0/+2
| | | | Notes: svn path=/head/; revision=108175
* 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