summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Resume deorbit burn sequence for <malloc.h>. Inspection of my make logswollman2001-10-251-5/+2
| | | | | reveals no programs in the standard build which hit the previous warning message. This change will NOT be merged to 4-stable.
* Add $FreeBSD$.asmodai2001-10-241-3/+6
| | | | | | Change assert() macro to print failing function name. Change K&R function prototype wrapper to ANSI prototype. This makes us C99 conforming.
* Fixed some style bugs:bde2001-10-101-3/+3
| | | | | | - rev.1.6: corrupt tab before strlcpy. - rev.1.7: "From: " in vendor id. - rev.1.8: unsorted prototype for strccasestr.
* Implement strcasestr() which many others (f.e. Linux) already haveache2001-10-101-0/+1
|
* Add a new libc function, strnstr(3), which allows one to limit themike2001-10-091-1/+3
| | | | | | | | number of characters that are searched. This is especially useful with file operations and non-NUL terminated strings. Silence from: -audit, -hackers MFC after: 5 days
* Add compatibility functions for the AF_LOCAL RPC transport stuffwpaul2001-10-042-0/+15
| | | | | that used to live in RPC 4.0. This is needed for yppasswd and rpc.yppasswdd to work correctly. Patch supplied by Martin Blapp.
* Fixed order of includes. <sys/cdefs.h> must be included beforebde2001-10-041-9/+6
| | | | | | | | | <machine/ansi.h> for the definition of __signed, unless the compiler is gcc. Moved the declaration of socklen_t up together with the declaration of size_t, and removed low-quality comment about this declaration. Declaring socklen_t in this file is normal in POSIX-1.200x, unlike declaring size_t.
* Fixed some style bugs.bde2001-10-041-4/+4
|
* Fixed namespace pollution:bde2001-10-041-3/+12
| | | | | | - only declare the application symbols specified in Posix.1-200x drafts, not everything in <sys/types.h> and <stddef.h>. - don't use the application symbol 'm' for an arg name.
* Back out WIP that snuck in with revs 1.15[23].obrien2001-10-011-1/+0
|
* Merge style with NetBSD -- ANSI-C prototypes, style(9) tabing, etc.obrien2001-10-011-39/+38
|
* Merge functional changes from NetBSD.obrien2001-10-011-22/+32
|
* *** empty log message ***obrien2001-10-011-0/+1
|
* RFC2349 (http://www.hypermail.org/rfcs/rfc2349.html) adds supportobrien2001-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>
* o Update unistd.h with the prototype for the new eaccess(2) system call.rwatson2001-09-211-0/+1
| | | | Obtained from: TrustedBSD Project
* Now that the compat4x libc.so.4 binary has been updated, we can finallypeter2001-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.
* Userland part of nfs client/server split and cleanup.peter2001-09-181-2/+2
|
* Stop gcc's fixincludes making an exception for this filepeter2001-09-101-2/+3
|
* Sort FILES.ru2001-09-061-5/+5
|
* add monetary.h as per POSIX requirementphantom2001-09-052-1/+41
|
* style(9) the structure definitions.obrien2001-09-054-7/+9
|
* Revert previous delta; <arpa/inet.h> isn't quite ready to stop includingmike2001-08-311-16/+1
| | | | <sys/types.h>.
* o Deprecate byteorder(3) prototypes from <sys/types.h>, these aremike2001-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
* Implement getpeereid(3), a front-end to the LOCAL_PEERCREDdd2001-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.
* Rip out the old __stdin/out/err stuff. It was completely 100% useless. :-(peter2001-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()).
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-132-4/+0
|
* Remove comment, which didn't even help anyway.asmodai2001-08-131-1/+0
| | | | Submitted by: bde, long ago
* Make the name parameter const char *.imp2001-08-111-1/+1
|
* Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatiblemikeh2001-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
* Remove namespace pollution.mike2001-07-221-2/+2
| | | | | | | PR: 14327 Reviewed by: des Approved by: des MFC after: 7 days
* Implement pthread_attr_[gs]etguardsize(). Non-default-size stacks used tojasone2001-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
* VCS ID fixupobrien2001-07-102-5/+3
|
* Add a new clnt_control() request `CLSET_CONNECT' that controlsiedowse2001-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.
* After one too many PRs on the subject, bite the bullet and define IOV_MAXwollman2001-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
* Revise wording of osreldate.h vs kernel warning to make it clear that itpeter2001-06-171-2/+3
| | | | is a userland-only header.
* Added skeleton <complex.h> (aligned with the POSIX.1-200x), mostlyru2001-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>.
* Complete prototype for fts_compar.ru2001-06-131-1/+3
|
* Implement EDNS0 support, as EDNS0 support will be made mandatory forume2001-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
* Update copyright.obrien2001-06-091-1/+1
|
* Fix previous commit which inadverdently deleted a section.jlemon2001-06-071-0/+5
|
* Relocate IPFilter from sys/netinet to sys/contrib/ipfilter.jlemon2001-06-071-3/+3
|
* Round #2 of the sys/isa/ic/ => sys/dev/ic/ move: install sys/dev/icjoerg2001-06-041-1/+1
| | | | as /usr/include/dev/ic.
* Remove MFS.phk2001-05-291-1/+1
|
* Drop nested __P(). This trips up Supelec's dcc.rnordier2001-05-271-1/+1
|
* - sys/n[tw]fs moved to sys/fs/n[tw]fsru2001-05-261-2/+2
| | | | - /usr/include/n[tw]fs moved to /usr/include/fs/n[tw]fs
* Include elf32.h and elf64.h to be more code compatable with Solaris.obrien2001-05-251-0/+2
|
* - sys/msdosfs moved to sys/fs/msdosfsru2001-05-251-3/+4
| | | | | - msdos.ko renamed to msdosfs.ko - /usr/include/msdosfs moved to /usr/include/fs/msdosfs
* Back out rev 1.4 (wint_t and mbstate_t) as I am tired of the complaints.obrien2001-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>
* Backout (almost) revision 1.137 changes.ru2001-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
* Argh, unbreak SHARED=copied case.ru2001-05-231-2/+2
|
OpenPOWER on IntegriCloud