aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Removed evil typedef kvm_swap_t and all uses of it (not many).Bruce Evans1999-01-271-5/+5
| | | | | | | Hoped for by: wollman Notes: svn path=/head/; revision=43282
* Oops, forgot this. Needed by libkvm.Matthew Dillon1999-01-231-1/+14
| | | | Notes: svn path=/head/; revision=43085
* Add a prototype for strtok_r().John Polstra1999-01-201-0/+1
| | | | Notes: svn path=/head/; revision=42913
* Use the correct type for uid and gid in struct passwd. Document it.Dag-Erling Smørgrav1999-01-181-2/+2
| | | | Notes: svn path=/head/; revision=42780
* Install <sys/aio.h> as <aio.h>.Dmitrij Tejblum1999-01-171-2/+2
| | | | Notes: svn path=/head/; revision=42774
* Instead of a wrapper <linker_set.h>, use a symlink toJohn Polstra1999-01-142-37/+3
| | | | | | | | | <sys/linker_set.h>. Submitted by: bde Notes: svn path=/head/; revision=42663
* Add a wrapper <linker_set.h> for <sys/linker_set.h>, so thatJohn Polstra1999-01-142-2/+36
| | | | | | | userland programs can use linker sets. Notes: svn path=/head/; revision=42646
* optreset is a POSIX extension, make it visible in POSIX_SOURCE scope.Mike Smith1999-01-111-1/+1
| | | | | | | Submitted by: Andrzej Bialecki <abial@nask.pl> Notes: svn path=/head/; revision=42518
* Move nologin from /etc to /var/run. This means one less file that hasSatoshi Asami1999-01-111-1/+1
| | | | | | | | | | | | to be written to /etc. The only essential change is in paths.h, so any third-party software written correctly will pick it up in the next rebuild. Reviewed by: the committers list (actually an old version) Notes: svn path=/head/; revision=42515
* POSIX introduced optreset to deal with multiple invocationsMike Smith1999-01-111-0/+1
| | | | | | | | | | | | | of getopt (as in, multiple input lines :). This is documented in the man page and is used in the code, but unistd.h and stand.h do not declare it. Incidentally, it prevents me fixing a bug in loader's code... :-) PR: misc/9373 Submitted by: "Daniel C. Sobral" <dcs@newsguy.com> Notes: svn path=/head/; revision=42511
* Make ctime_r, asctime_r, gmtime_r, and localtime_r available in libc.Dmitrij Tejblum1999-01-041-7/+4
| | | | Notes: svn path=/head/; revision=42293
* Implement fpsetmask() and other fp*() functions. Programs should useDoug Rabson1998-12-232-2/+27
| | | | | | | | | | | | | #include <ieeefp.h> to access these functions instead of the i386 specific #include <machine/floatingpoint.h> Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> Notes: svn path=/head/; revision=42029
* Install <sys/inttypes.h> as <inttypes.h>.Dmitrij Tejblum1998-12-191-2/+2
| | | | Notes: svn path=/head/; revision=41928
* Little reorganization:Dmitrij Tejblum1998-12-191-5/+3
| | | | | | | | | | | | | - created internal names for fixed-size integral types, like __int32_t. They will be used to make several headers self-sufficient. - <stdlib.h> don't include <machine/types.h> anymore. - created <sys/inttypes.h>, which can be used as <inttypes.h>. - declaration of uoff_t and ufs_daddr_t moved to <sys/types.h>. Reviewed by: bde Notes: svn path=/head/; revision=41927
* Declare size_t and ssize_t if they are not already declared, so thatBruce Evans1998-12-161-6/+15
| | | | | | | | | | | | | | | | | | <kvm.h> is self-sufficient again. Moved typedefs and forward struct declarations out of __BEGIN_DECLS/ __END_DECLS. Don't comment out the prototype for kvm_uread(). This was a 4 year old kludge for previous breakage of self-sufficiency. The prototypwe was broken instead. Fixed bitrot (const poisoning) in the type of kvm_uread(). Fixed order of the declaration of kvm_uread(). Notes: svn path=/head/; revision=41882
* Make this protototype of mmap return void *, like two other copies.Dmitrij Tejblum1998-12-141-2/+2
| | | | Notes: svn path=/head/; revision=41798
* Make rcsid a const char[] instead of char[] to avoid compiler warningsArchie Cobbs1998-12-0610-10/+10
| | | | Notes: svn path=/head/; revision=41557
* Add support for pthread_mutexattr_settype(). As a side effect ofEivind Eklund1998-11-281-2/+8
| | | | | | | testing this, fix MUTEX_TYPE_COUNTING_FAST. Recursive locks now work. Notes: svn path=/head/; revision=41390
* Don't forget to use the appropriate __printf*like attribute for verr*Bruce Evans1998-11-221-11/+14
| | | | | | | | | | | and vwarn*. Sorted attributes. UnFrom'ed vendor id. Notes: svn path=/head/; revision=41284
* 64bit clean nowDima Ruban1998-11-081-1/+1
| | | | Notes: svn path=/head/; revision=40999
* Add support for -Wformat consistency checking between format stringsJohn Polstra1998-10-291-7/+7
| | | | | | | | | | and their argument lists for the err(3) family of functions. Note, I intentionally used __printflike instead of __printf0like for warnx. Although a NULL format string is legal for that function, it doesn't make any sense. Notes: svn path=/head/; revision=40739
* 64bit fixes.Dima Ruban1998-10-271-9/+9
| | | | | | | | | | (Note: ``dump'' doesn't work on alpha yet. Apparently there's a problem somewhere is the physio() area) Submitted by: myself && Matt Dillon. Notes: svn path=/head/; revision=40668
* make talk/talkd work on alpha.Dima Ruban1998-10-201-3/+3
| | | | Notes: svn path=/head/; revision=40536
* Don't even think about using a sysctl to build osreldate.h, since thisBruce Evans1998-10-171-17/+4
| | | | | | | | | | | | | breaks cross-builds. Just depend on ${.CURDIR}/../sys/conf/newvers.sh existing. Don't override the (correct) defaults for the depend, lint or tags target. In LDIRS: fixed order-rot. Don't comment out dead networking directories; remove them. Notes: svn path=/head/; revision=40496
* Move auth.conf path in here. Doesn't affect published interface.Jordan K. Hubbard1998-10-091-0/+1
| | | | Notes: svn path=/head/; revision=40111
* back out h2ph from here, Bruce found another proper placeAndrey A. Chernov1998-10-021-4/+1
| | | | Notes: svn path=/head/; revision=39892
* Add h2ph call to afterinstall targetAndrey A. Chernov1998-10-021-1/+4
| | | | | | | Error code ignored to allow building without perl installed Notes: svn path=/head/; revision=39877
* #ifdef out DES ioctls which don't exist in FreeBSD. These originatedBill Paul1998-09-261-0/+10
| | | | | | | | | | | | with the SunRPC code to allow the use of hardware DES on certain Sun hardware that supported it (if you installed the appropriate kit). We don't have them and they apparently break the ioctl table generation for kdump. Pointed out by: bde Notes: svn path=/head/; revision=39661
* Don't declare functions without a prototype if KERNEL is defined. ThisBruce Evans1998-09-212-4/+11
| | | | | | | fixes lots of warnings about missing prototypes in sys/netatm/spans/*. Notes: svn path=/head/; revision=39534
* Build headers with -DWANT_NFS3.David E. O'Brien1998-09-171-2/+2
| | | | | | | (finishing up on Amd upgrade) Notes: svn path=/head/; revision=39429
* Adjust the declarations of kvm_read and kvm_write to match reality a littleDoug Rabson1998-09-161-2/+2
| | | | | | | closer. Notes: svn path=/head/; revision=39353
* (this is an extract from src/share/examples/atm/README)Poul-Henning Kamp1998-09-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | =================================== HARP | Host ATM Research Platform =================================== HARP 3 What is this stuff? ------------------- The Advanced Networking Group (ANG) at the Minnesota Supercomputer Center, Inc. (MSCI), as part of its work on the MAGIC Gigabit Testbed, developed the Host ATM Research Platform (HARP) software, which allows IP hosts to communicate over ATM networks using standard protocols. It is intended to be a high-quality platform for IP/ATM research. HARP provides a way for IP hosts to connect to ATM networks. It supports standard methods of communication using IP over ATM. A host's standard IP software sends and receives datagrams via a HARP ATM interface. HARP provides functionality similar to (and typically replaces) vendor-provided ATM device driver software. HARP includes full source code, making it possible for researchers to experiment with different approaches to running IP over ATM. HARP is self-contained; it requires no other licenses or commercial software packages. HARP implements support for the IETF Classical IP model for using IP over ATM networks, including: o IETF ATMARP address resolution client o IETF ATMARP address resolution server o IETF SCSP/ATMARP server o UNI 3.1 and 3.0 signalling protocols o Fore Systems's SPANS signalling protocol What's supported ---------------- The following are supported by HARP 3: o ATM Host Interfaces - FORE Systems, Inc. SBA-200 and SBA-200E ATM SBus Adapters - FORE Systems, Inc. PCA-200E ATM PCI Adapters - Efficient Networks, Inc. ENI-155p ATM PCI Adapters o ATM Signalling Protocols - The ATM Forum UNI 3.1 signalling protocol - The ATM Forum UNI 3.0 signalling protocol - The ATM Forum ILMI address registration - FORE Systems's proprietary SPANS signalling protocol - Permanent Virtual Channels (PVCs) o IETF "Classical IP and ARP over ATM" model - RFC 1483, "Multiprotocol Encapsulation over ATM Adaptation Layer 5" - RFC 1577, "Classical IP and ARP over ATM" - RFC 1626, "Default IP MTU for use over ATM AAL5" - RFC 1755, "ATM Signaling Support for IP over ATM" - RFC 2225, "Classical IP and ARP over ATM" - RFC 2334, "Server Cache Synchronization Protocol (SCSP)" - Internet Draft draft-ietf-ion-scsp-atmarp-00.txt, "A Distributed ATMARP Service Using SCSP" o ATM Sockets interface - The file atm-sockets.txt contains further information What's not supported -------------------- The following major features of the above list are not currently supported: o UNI point-to-multipoint support o Driver support for Traffic Control/Quality of Service o SPANS multicast and MPP support o SPANS signalling using Efficient adapters This software was developed under the sponsorship of the Defense Advanced Research Projects Agency (DARPA). Reviewed (lightly) by: phk Submitted by: Network Computing Services, Inc. Notes: svn path=/head/; revision=39271
* Add new cam include hierarchy.Justin T. Gibbs1998-09-151-3/+3
| | | | Notes: svn path=/head/; revision=39250
* Add reallocf to the library. This function is simliar to realloc, butWarner Losh1998-09-141-0/+1
| | | | | | | | | | | | | | | | when it returns NULL to indicate failure, it will also free the memory that was passed to it, if that was non-null. This does not change the semantics of realloc. A second commit will be done to commit the conversion of those places in the code that can safely use this to avoid memory leaks when confronted with low memory situations. Beaten-to-death-but-finally-approved-in: -current Notes: svn path=/head/; revision=39191
* Change return type of strptime from const char* to char*.Dmitrij Tejblum1998-09-121-1/+1
| | | | | | | const char* was wrong and nonstandard. Notes: svn path=/head/; revision=39113
* A small last-minute iitem for 3.0:Garrett Wollman1998-09-121-1/+6
| | | | | | | | | | | | - Fix some style errors I made back in 1995. - Add a new flavor of the err(3) family, which takes an explicit errno argument rather than implicitly examining errno. This will make it easier to use these functions in conjunction with modern library interfaces that return an errno value explicitly. Notes: svn path=/head/; revision=39112
* Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98.KATO Takenori1998-09-091-4/+4
| | | | Notes: svn path=/head/; revision=38994
* Add a new library function getobjformat(). It checks all theJohn Polstra1998-09-092-2/+41
| | | | | | | | | | | | | | | | standard places ("/etc/objformat", ${OBJFORMAT}, argv) for an indication of the user's preferred object file format. This consolidates some code that was starting to be duplicated in more and more places. Use the new function in ldconfig. Note: I don't think that gcc should use getobjformat(), even though it could. The compiler should limit itself to functions that are widespread, to ease porting and cross-compilation. Notes: svn path=/head/; revision=38960
* Add support for the RPC 64-bit integer type ``hyper''.David E. O'Brien1998-09-081-1/+3
| | | | Notes: svn path=/head/; revision=38952
* Remove the extern decl of ``h_errno''. It's alreadyBrian Somers1998-09-071-10/+1
| | | | | | | | | externed in netdb.h - where all of its #define values live. If anything requires h_errno here (nothing in /usr/src seems to) it's almost definitely broken. Notes: svn path=/head/; revision=38922
* Implement pthread read/write locks as defined by Version 2 of the SingleAlexander Langer1998-09-071-0/+25
| | | | | | | | | | UNIX Specification. As with our standard mutexes, process shared locks are not supported at this time. Notes: svn path=/head/; revision=38919
* Fix tons of cut-n-paste errors in the WANT_NFS3 code.David E. O'Brien1998-09-061-14/+16
| | | | Notes: svn path=/head/; revision=38879
* Add hints file structures and defines.John Polstra1998-09-052-2/+38
| | | | Notes: svn path=/head/; revision=38830
* Add the prototype for sigwait().John Birrell1998-08-251-0/+1
| | | | Notes: svn path=/head/; revision=38538
* Add extern declaration for `tzname[]' to make this header comply betterJoseph Koshy1998-08-211-0/+4
| | | | | | | | | to POSIX90. 2-rounds-of-review-by: bde Notes: svn path=/head/; revision=38464
* Move the include of <machine/ansi.h> to before <sys/signal.h>.Doug Rabson1998-08-051-1/+1
| | | | Notes: svn path=/head/; revision=38119
* Fixed garbage after comment after #endif. Fixed reversed sense of sameBruce Evans1998-08-031-2/+2
| | | | | | | comment. Notes: svn path=/head/; revision=38051
* Added iso646.h as defined by the Single UNIX Specification, version 2.Alexander Langer1998-08-012-2/+46
| | | | Notes: svn path=/head/; revision=38001
* MF22: prototype fix.Jordan K. Hubbard1998-07-161-1/+1
| | | | Notes: svn path=/head/; revision=37692
* Added macros __printflike() and __scanflike() to <sys/cdefs.h>.Bruce Evans1998-07-131-7/+10
| | | | | | | | | | | Use them to `make gcc -Wformat' check formats for all printf-like and scanf-like functions in /usr/src except for the err()/warn() family. err() isn't quite printf-like since its format arg can legitimately be NULL. syslog() isn't quite printf-like, but gcc already accepts %m, even for plain printf() when it shouldn't. Notes: svn path=/head/; revision=37614