aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* RFC2349 (http://www.hypermail.org/rfcs/rfc2349.html) adds supportDavid E. O'Brien2001-09-271-0/+2
| | | | | | | | | | | | | | for negotiation of timeout and file size to the tftp protocol. This is required by some firmware like EFI boot managers (at least on HP i2000 Itanium servers) in order to boot an image using tftp. The attached patch implements the RFC, and in doing so also implements RFC2347; a generic tftp option extension. PR: 30710 Submitted by: Espen Skoglund <esk@ira.uka.de> Notes: svn path=/head/; revision=84047
* o Update unistd.h with the prototype for the new eaccess(2) system call.Robert Watson2001-09-211-0/+1
| | | | | | | Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=83806
* Now that the compat4x libc.so.4 binary has been updated, we can finallyPeter Wemm2001-09-201-1/+1
| | | | | | | | | | | switch over to using a future-proof stdin/out/err. Note that if you run 4.x binaries on your system, you will certainly want to update /usr/lib/compat/libc.so.4. The easiest way is to add "COMPAT4X= yes" in your /etc/make.conf. Notes: svn path=/head/; revision=83712
* Userland part of nfs client/server split and cleanup.Peter Wemm2001-09-181-2/+2
| | | | Notes: svn path=/head/; revision=83653
* Stop gcc's fixincludes making an exception for this filePeter Wemm2001-09-101-2/+3
| | | | Notes: svn path=/head/; revision=83265
* Sort FILES.Ruslan Ermilov2001-09-061-5/+5
| | | | Notes: svn path=/head/; revision=83134
* add monetary.h as per POSIX requirementAlexey Zelkin2001-09-052-1/+41
| | | | Notes: svn path=/head/; revision=83105
* style(9) the structure definitions.David E. O'Brien2001-09-054-7/+9
| | | | Notes: svn path=/head/; revision=83047
* Revert previous delta; <arpa/inet.h> isn't quite ready to stop includingMike Barcroft2001-08-311-16/+1
| | | | | | | <sys/types.h>. Notes: svn path=/head/; revision=82628
* o Deprecate byteorder(3) prototypes from <sys/types.h>, these areMike Barcroft2001-08-311-1/+16
| | | | | | | | | | | | now prototyped indirectly in <arpa/inet.h>. o Deprecate in_addr_t and in_port_t typedefs in <sys/types.h>, these are now typedef'd in <arpa/inet.h>. Discussed with: bde PR: 29946 Notes: svn path=/head/; revision=82626
* Implement getpeereid(3), a front-end to the LOCAL_PEERCREDDima Dorfman2001-08-171-0/+1
| | | | | | | | | | socket option for the Unix domain. It's weaker than the socket option (this only returns the uid and gid, while the socket opt. can return the entire group list), and is implemented mostly for compatibility with OpenBSD. Notes: svn path=/head/; revision=81861
* Rip out the old __stdin/out/err stuff. It was completely 100% useless. :-(Peter Wemm2001-08-131-0/+10
| | | | | | | | | | | | | | | | | | | It was foiled because of dynamic copy relocations that caused compile-time space to be reserved in .bss and at run time a blob of data was copied to that space and everything used the .bss version.. The problem is that the space is reserved at compile time, not runtime... So we *still* could not change the size of FILE. Sigh. :-( Replace it with something that does actually work and really does let us make 'FILE' extendable. It also happens to be the same as Linux does in glibc, but has the slight cost of a pointer. Note that this is the same cost that 'fp = fopen(), fprintf(fp, ...); fclose(fp);' has. Fortunately, actual references to stdin/out/err are not all that common since we have implicit stdin/out/err-using versions of functions (printf() vs. fprintf()). Notes: svn path=/head/; revision=81600
* Removed duplicate VCS ID tags, as per style(9).Ruslan Ermilov2001-08-132-4/+0
| | | | Notes: svn path=/head/; revision=81586
* Remove comment, which didn't even help anyway.Jeroen Ruigrok van der Werven2001-08-131-1/+0
| | | | | | | Submitted by: bde, long ago Notes: svn path=/head/; revision=81585
* Make the name parameter const char *.Warner Losh2001-08-111-1/+1
| | | | Notes: svn path=/head/; revision=81524
* Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatibleMike Heffner2001-07-291-2/+4
| | | | | | | | | | | | | with NetBSD and OpenBSD. glob(3) will now return GLOB_NOSPACE with errno set to 0 instead of GLOB_LIMIT when we match more than `gl_matchc' patterns. GLOB_MAXPATH has been left as an alias of GLOB_LIMIT to maintain backwards compatibility. Reviewed by: sheldonh, assar Obtained from: NetBSD/OpenBSD Notes: svn path=/head/; revision=80525
* Remove namespace pollution.Mike Barcroft2001-07-221-2/+2
| | | | | | | | | | PR: 14327 Reviewed by: des Approved by: des MFC after: 7 days Notes: svn path=/head/; revision=80153
* Implement pthread_attr_[gs]etguardsize(). Non-default-size stacks used toJason Evans2001-07-201-0/+3
| | | | | | | | | | | be malloc()ed, but they are now allocated using mmap(), just as the default-size stacks are. A separate cache of stacks is kept for non-default-size stacks. Collaboration with: deischen Notes: svn path=/head/; revision=80021
* VCS ID fixupDavid E. O'Brien2001-07-102-5/+3
| | | | Notes: svn path=/head/; revision=79555
* Add a new clnt_control() request `CLSET_CONNECT' that controlsIan Dowse2001-06-231-0/+1
| | | | | | | | | | | | | whether or not connect(2) is used for UDP client sockets. The default is not to connect(), so existing clients will see no change in behaviour. The use of connect(2) for UDP clients has a number of advantages: only replies from the intended address are received, and ICMP errors pertaining to the connection are reported back to the application. Notes: svn path=/head/; revision=78678
* After one too many PRs on the subject, bite the bullet and define IOV_MAXGarrett Wollman2001-06-181-0/+1
| | | | | | | | | | | and its associated constants. Implement _SC_IOV_MAX in the usual way. Be a bit sloppy about the namespace question; this should get cleared up in time for 5.0. MFC after: 1 month Notes: svn path=/head/; revision=78431
* Revise wording of osreldate.h vs kernel warning to make it clear that itPeter Wemm2001-06-171-2/+3
| | | | | | | is a userland-only header. Notes: svn path=/head/; revision=78376
* Added skeleton <complex.h> (aligned with the POSIX.1-200x), mostlyRuslan Ermilov2001-06-132-1/+62
| | | | | | | | | | | to fix the "-nostdinc WARNS=X" breakage caused by broken prototypes for cabs() and cabsl() in <math.h>. Reimplemented cabs() and cabsl() using new complex numbers types and moved prototypes from <math.h> to <complex.h>. Notes: svn path=/head/; revision=78172
* Complete prototype for fts_compar.Ruslan Ermilov2001-06-131-1/+3
| | | | Notes: svn path=/head/; revision=78169
* Implement EDNS0 support, as EDNS0 support will be made mandatory forHajimu UMEMOTO2001-06-103-0/+6
| | | | | | | | | | | | | | IPv6 transport-ready resolvers/DNS servers. Need careful configuration when enable it. (default config is not affected). See manpage for details. XXX visible symbol __res_opt() is added, however, it is not supposed to be called from outside, libc minor is not bumped. Obtained from: KAME/NetBSD Notes: svn path=/head/; revision=78012
* Update copyright.David E. O'Brien2001-06-091-1/+1
| | | | Notes: svn path=/head/; revision=77932
* Fix previous commit which inadverdently deleted a section.Jonathan Lemon2001-06-071-0/+5
| | | | Notes: svn path=/head/; revision=77857
* Relocate IPFilter from sys/netinet to sys/contrib/ipfilter.Jonathan Lemon2001-06-071-3/+3
| | | | Notes: svn path=/head/; revision=77854
* Round #2 of the sys/isa/ic/ => sys/dev/ic/ move: install sys/dev/icJoerg Wunsch2001-06-041-1/+1
| | | | | | | as /usr/include/dev/ic. Notes: svn path=/head/; revision=77728
* Remove MFS.Poul-Henning Kamp2001-05-291-1/+1
| | | | Notes: svn path=/head/; revision=77434
* Drop nested __P(). This trips up Supelec's dcc.Robert Nordier2001-05-271-1/+1
| | | | Notes: svn path=/head/; revision=77272
* - sys/n[tw]fs moved to sys/fs/n[tw]fsRuslan Ermilov2001-05-261-2/+2
| | | | | | | - /usr/include/n[tw]fs moved to /usr/include/fs/n[tw]fs Notes: svn path=/head/; revision=77223
* Include elf32.h and elf64.h to be more code compatable with Solaris.David E. O'Brien2001-05-251-0/+2
| | | | Notes: svn path=/head/; revision=77204
* - sys/msdosfs moved to sys/fs/msdosfsRuslan Ermilov2001-05-251-3/+4
| | | | | | | | - msdos.ko renamed to msdosfs.ko - /usr/include/msdosfs moved to /usr/include/fs/msdosfs Notes: svn path=/head/; revision=77162
* Back out rev 1.4 (wint_t and mbstate_t) as I am tired of the complaints.David E. O'Brien2001-05-241-10/+0
| | | | | | | | | | | | | | | The STLport will probably become broken again, but I'll work on fixing it later. I wish someone would explain why the NetBSD Cirtus branch has the types in their stddef.h... Requested by: bde, ru PR: 27606 Submitted by: Naohiko Tsuji <yakisoba@f2.dion.ne.jp> Notes: svn path=/head/; revision=77144
* Backout (almost) revision 1.137 changes.Ruslan Ermilov2001-05-231-2/+8
| | | | | | | | | | | | Removal of LSYMSUBDIRS was a regression. The purpose of LSYMSUBDIRS is to export only those /sys headers in the SHARED=symlinks case that are also visible in the SHARED=copies case. Requested by: bde Notes: svn path=/head/; revision=77046
* Argh, unbreak SHARED=copied case.Ruslan Ermilov2001-05-231-2/+2
| | | | Notes: svn path=/head/; revision=77043
* - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION fileRuslan Ermilov2001-05-231-2/+4
| | | | | | | | | | | | | | | | | | systems were repo-copied from sys/miscfs to sys/fs. - Renamed the following file systems and their modules: fdesc -> fdescfs, portal -> portalfs, union -> unionfs. - Renamed corresponding kernel options: FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS. - Install header files for the above file systems. - Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland Makefiles. Notes: svn path=/head/; revision=77031
* Get rid of LSYMSUBDIRS by merely setting up symlinks to LNOHEADERDIRS.Ruslan Ermilov2001-05-211-9/+2
| | | | Notes: svn path=/head/; revision=76930
* Back out previous commit. digiio.h has moved to /usr/include/sysBrian Somers2001-05-191-7/+1
| | | | Notes: svn path=/head/; revision=76849
* Add mbstate_t and wint_t.David E. O'Brien2001-05-181-0/+10
| | | | Notes: svn path=/head/; revision=76793
* Install /sys/dev/digi/digiio.h as /usr/include/dev/digi/digiio.hBrian Somers2001-05-171-1/+8
| | | | | | | | I use the (new) DEVFILES variable rather than LSUBDIRS because only the public interface (digiio.h) should be installed. Notes: svn path=/head/; revision=76706
* Install wchar.h and wctype.h.Ruslan Ermilov2001-05-161-1/+1
| | | | | | | Forgotten by: tshiozak Notes: svn path=/head/; revision=76680
* Introduce getprogname(3) and setprogname(3) library calls. These getDima Dorfman2001-05-151-0/+3
| | | | | | | | | | | | and set __progname, respectively. Discussed on: -arch (Feb 2001), -audit Reviewed by: -audit Approved by: kris Obtained from: (mostly) NetBSD Notes: svn path=/head/; revision=76653
* adapt to FreeBSD.Takuya SHIOZAKI2001-05-152-1/+15
| | | | | | | | | | | | | | | - add #define NULL 0 instead of sys/null.h. - enable locale-insensitive functions: wcscat.c wcschr.c wcscmp.c wcscpy.c wcscspn.c wcslcat.c wcslcpy.c wcslen.c wcsncat.c wcsncmp.c wcsncpy.c wcspbrk.c wcsrchr.c wcsspn.c wcsstr.c wmemchr.c wmemcmp.c wmemcpy.c wmemmove.c wmemset.c - disable some locale-sensitive functions defined in wchar.h temporarily: mbrlen mbrtowc mbsinit mbsrtowcs wcrtomb wcsrtombs wcwidth wcswidth - disable all functions defined in wctype.h temporarily: is* tow* Notes: svn path=/head/; revision=76636
* initial import of wchar.h and wctype.hTakuya SHIOZAKI2001-05-152-0/+201
| | | | | | | Obtained from: NetBSD and Citrus XPG4DL Notes: svn path=/head/; revision=76633
* Add elf.h header back, its existance is an SVR4-ELF tradition.David E. O'Brien2001-05-061-1/+1
| | | | | | | | | Our ELF hints bits are still a seperate file. Requested by: jdp Notes: svn path=/head/; revision=76317
* Add this header back, its existance is an SVR4-ELF tradition.David E. O'Brien2001-05-051-0/+35
| | | | | | | | | Our ELF hints bits are still a seperate file. Requested by: jdp Notes: svn path=/head/; revision=76294
* * include/elf.h has been repo copied to include/elf-hints.h, and it noDavid E. O'Brien2001-05-023-60/+4
| | | | | | | | | | | longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11.0 and too much clashing over our base elf headers and the Binutils elf headers. Notes: svn path=/head/; revision=76224
* Move sranddev() to !ANSI_SOURCE !POSIX_SOURCE sectionAndrey A. Chernov2001-04-231-1/+1
| | | | | | | Pointed out by: bde Notes: svn path=/head/; revision=75859