aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add sranddev() prototypeAndrey A. Chernov2001-04-231-0/+1
| | | | Notes: svn path=/head/; revision=75846
* Style(9) fixes:David E. O'Brien2001-04-221-4/+4
| | | | | | | | | | * get rid of space (0x20) before tab (^I) * indent with ^I, not 0x20 * continuation line for prototypes is for 0x20's past function's name col. * etc. Notes: svn path=/head/; revision=75818
* Implement client side NFS locks.Alfred Perlstein2001-04-171-3/+10
| | | | | | | | Obtained from: BSD/os Import Ok'd by: mckusick, jkh, motd on builder.freebsd.org Notes: svn path=/head/; revision=75631
* I think this was supposed to be __const like in NetBSD: I have no ideaKris Kennaway2001-04-171-1/+1
| | | | | | | | | why I changed it to const. Noticed by: David Wolfskill <david@catwhisker.org> Notes: svn path=/head/; revision=75621
* Add fmtcheck(), a function for checking consistency of format stringKris Kennaway2001-04-171-0/+2
| | | | | | | | | | | | | | | | | | | | arguments where the format string is obtained from user data, or otherwise difficult to verify statically. Example usage: printf(fmtcheck(user_format, standard_format), arg1, arg2); checks the format string user_format for consistency (same number/order/ type of format operators) with standard_format. If they differ, standard_format is used instead to avoid potential crashes or security violations. Obtained from: NetBSD Reviewed by: -arch Notes: svn path=/head/; revision=75578
* Actually install include/fs/smbfs and include/netsmb directories.Boris Popov2001-04-111-5/+6
| | | | Notes: svn path=/head/; revision=75415
* It's not CUT (the french would accept that back in 1879) and TUC wasn'tPoul-Henning Kamp2001-03-311-1/+5
| | | | | | | | | | palatable to the rest of the world. UTC was the compromise. PR: 26238 Submitted by: Ying-Chieh Liao <ijliao@terry.dragon2.net> Notes: svn path=/head/; revision=75033
* Add a CLSET_ASYNC command, which allows us to (ab)use the clnt_dg transportBill Paul2001-03-271-0/+1
| | | | | | | | | | | | | | | | | | | | | to make asynchronous RPCs. This is needed to help fix ypbind, which can no longer override the clnt_dg_call() method (formerly the clntudp_call() method) due to all the internal descriptor locking code in TI-RPC. Turning on this flag allows us to send an RPC request, then return immediately, and handle a reply later, rather than being forced to do the request and reply in a single function call. Also fix a byte ordering bug: when clnt_dg_call() increments the XID prior to transmitting a request, it uses the raw value, which is wrong. The XID is stored in network byte order, i.e. big-endian. The CLSET_XID and CLGET_XID commands in clnt_dg_control() use ntohl()/htonl() to get the byte ordering right, but because clnt_dg_call() does not do this, using CLSET_XID/CLGET_XID doesn't actually work, unless you're on a big endian host, which we aren't (yet). Fix clnt_dg_call() to byte swap properly when doing the increment. Notes: svn path=/head/; revision=74879
* give the "netgrent" functions a home in netdb.hAlfred Perlstein2001-03-271-0/+5
| | | | Notes: svn path=/head/; revision=74844
* const'ifyAlfred Perlstein2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74843
* fix: text following `#else' violates ANSI standardAlfred Perlstein2001-03-261-1/+1
| | | | | | | Pointed out by: ${BDECFLAGS} Notes: svn path=/head/; revision=74801
* IPv4 address is not unsigned int. This change introduces in_addr_t.Hajimu UMEMOTO2001-03-231-6/+6
| | | | | | | | | | PR: 9982 Adviced by: des Reviewed by: -alpha and -net (no objection) Obtained from: OpenBSD Notes: svn path=/head/; revision=74700
* change callrpc() from taking "char *" args, I'm quite sure they really meantAlfred Perlstein2001-03-231-2/+2
| | | | | | | | | to use "void *". remove a duplicate prototype for callrpc() from libexec/ypxfr/ypxfr_extern.h Notes: svn path=/head/; revision=74695
* forgot prototyle for __rpc_get_local_uid()Alfred Perlstein2001-03-221-0/+2
| | | | Notes: svn path=/head/; revision=74658
* Unbreak LINT.Alfred Perlstein2001-03-201-0/+2
| | | | | | | | | | | | | because rpcb_clnt.h is generated during buildworld and only installed into /usr/include/rpc (and not present in src/include/rpc) we can fix it by simply not including it when _KERNEL is defined. this isn't the most elegant, way and might deserve some revisiting later. Pointed out by: bde Notes: svn path=/head/; revision=74515