aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* string.h defines nonstandard routines when _POSIX_SOURCE isWarner Losh1996-12-171-1/+1
| | | | | | | | | | defined. It has been fixed to not do that. Submitted by: Jake Hamby <jehamby@lightside.com> Closes PR: 1954 Notes: svn path=/head/; revision=20600
* Fix compiler warning: /* inside commentAndrey A. Chernov1996-12-051-1/+1
| | | | | | | 2.2 candidate Notes: svn path=/head/; revision=20154
* Bump maximum username length to 16 characters. This brings us intoJordan K. Hubbard1996-12-041-2/+2
| | | | | | | | | | | | | | line with BSD/OS and Linux's username limits, making transitioning from either operating system a lot easier than it is now. I'm currently running with this change on my system, as are several others, and have experienced no ill effects. This is not for 2.2! This needs to get shaken out longer term in 3.0. Previously-approved-by: davidg Notes: svn path=/head/; revision=20137
* Update to more current reality.Poul-Henning Kamp1996-11-281-11/+31
| | | | | | | | Reviewed by: phk Submitted by: Robin Carey <robin@mailgate.dtc.rankxerox.co.uk> Notes: svn path=/head/; revision=20003
* Matching routed.h to go along with latest routed.Garrett Wollman1996-11-191-2/+14
| | | | Notes: svn path=/head/; revision=19886
* Change prototypes for gmtime_r() and localtime_r() in accordance withJeffrey Hsu1996-11-111-3/+3
| | | | | | | IEEE pthreads specification. Notes: svn path=/head/; revision=19639
* Prototype pthread_mutexattr_getkind_np() and pthread_mutexattr_setkind_np().Jeffrey Hsu1996-11-111-5/+7
| | | | Notes: svn path=/head/; revision=19638
* Moved pthread_mutexattr_default inside #ifndef PTHREAD_KERNEL now thatJeffrey Hsu1996-11-111-2/+8
| | | | | | | | | we use it in the uthreads implementation. Moved enum pthread_mutextype here from libc_r/uthread/pthread_private.h. Change prototype for pthread_getspecific(). Notes: svn path=/head/; revision=19637
* Remove collate_range_cmpAndrey A. Chernov1996-10-311-3/+0
| | | | Notes: svn path=/head/; revision=19289
* improve comments for UT_NAMESIZEWolfram Schneider1996-10-272-3/+7
| | | | Notes: svn path=/head/; revision=19211
* Fixed tabs and punctuation to match nearby (and KNF) style. Sigh.Bruce Evans1996-10-241-2/+2
| | | | Notes: svn path=/head/; revision=19144
* GNU-style changes:Andrey A. Chernov1996-10-231-3/+4
| | | | | | | | 1) Rename FNM_ICASE to FNM_CASEFOLD 2) Add FNM_LEADING_DIR Notes: svn path=/head/; revision=19133
* add flag FNM_ICASE for case insensitve searchWolfram Schneider1996-10-201-0/+1
| | | | | | | Reviewed by: ache Notes: svn path=/head/; revision=19059
* Add back netnsJordan K. Hubbard1996-10-171-3/+3
| | | | Notes: svn path=/head/; revision=18999
* Fixed the wrong include file for a "prototype mismatch" error betweenMarc G. Fournier1996-10-081-3/+3
| | | | | | | dlfcn.h and link.h Notes: svn path=/head/; revision=18801
* dlfcn.h and link.h have conflicting declarations for dlopen/dlsym,Marc G. Fournier1996-10-071-3/+3
| | | | | | | | | | | | | | | | | with dlfcn.h declaring them as: void *dlopen __P((const char *, int)); void *dlsym __P((void *, const char *)); while link.h declared them as extern void *dlopen __P((char *, int)); extern void *dlsym __P((void *, char *)); Fix link.h to match dlfcn.h Notes: svn path=/head/; revision=18799
* Add support for storing a -R path in ld in the section dispatch table,Peter Wemm1996-10-011-2/+5
| | | | | | | | | | | | support LD_HINTS_VERSION_2 that has the ldconfig pathname stored in the ld.so.hints file (ie: a new library can be installed and used without needing to run ldconfig -m first) Reviewed by: nate, jdp Obtained from: NetBSD (mostly) Notes: svn path=/head/; revision=18591
* Add the linker set stab types: N_SETA N_SETT N_SETD N_SETB N_SETVPeter Wemm1996-10-011-1/+8
| | | | Notes: svn path=/head/; revision=18589
* Fixed CLEANFILES. osreldate was missing.Bruce Evans1996-09-201-3/+4
| | | | | | | Cleaned up LDIRS line. Notes: svn path=/head/; revision=18420
* Don't use __dead or __pure in user code. They were obfuscationsBruce Evans1996-09-145-78/+75
| | | | | | | | | for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong. Notes: svn path=/head/; revision=18286
* install rpc header filesAdam David1996-09-011-1/+4
| | | | Notes: svn path=/head/; revision=17992
* 'make install' is not supposed to touch anything.Peter Wemm1996-08-301-2/+2
| | | | Notes: svn path=/head/; revision=17963
* missed these parts of Bruce's changes last time..Peter Wemm1996-08-301-2/+2
| | | | | | | Submitted by: bde (again :-) Notes: svn path=/head/; revision=17960
* echo -> ${ECHO}Peter Wemm1996-08-301-6/+6
| | | | | | | | | | do the rm -rf and ln -s in two seperate commands to allow a fork/exec without a "sh -c" in the middle. Submitted by: bde Notes: svn path=/head/; revision=17954
* Some bmake magic to clean up the install more.Peter Wemm1996-08-301-10/+6
| | | | | | | | | | fix another missed -c typo of mine. clean the rpcgen implicit rule more Submitted by: bde Notes: svn path=/head/; revision=17953
* Hand merge in the bind-4.9.4-P1 resolver updates.Peter Wemm1996-08-294-6/+56
| | | | Notes: svn path=/head/; revision=17902
* replace cmp -s || install with ${INSTALL} -C, and @for with .forPeter Wemm1996-08-291-21/+10
| | | | Notes: svn path=/head/; revision=17901
* Clean up include Makefile:Peter Wemm1996-08-291-75/+61
| | | | | | | | | | | | | | | - use .for loops instead of shell for loops. This means we can be shown what is happening while it's going, rather than some pacifier "echo" statement. - use "${INSTALL} -C", nuke the "cmp -s" hack - for "copies" mode, the include files are no longer touched each time the world is built. (ie: no rm -rf. symlinks are removed, mtree builds the new dirs or confirms the existing ones) - osreldate.h is build in the local dir and conditionally installed, rather than built in /usr/include and either renamed or deleted. Notes: svn path=/head/; revision=17900
* New version of routed.h to match new version of routed.Garrett Wollman1996-08-271-17/+20
| | | | Notes: svn path=/head/; revision=17844
* Submitted by: John Birrell <cimaxp1!jb@werple.net.au>Julian Elischer1996-08-203-191/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here are the diffs for libc_r to get it one step closer to P1003.1c These make most of the thread/mutex/condvar structures opaque to the user. There are three functions which have been renamed with _np suffixes because they are extensions to P1003.1c (I did them for JAVA, which needs to suspend/resume threads and also start threads suspended). I've created a new header (pthread_np.h) for the non-POSIX stuff. The egrep tags stuff in /usr/src/lib/libc_r/Makefile that I uncommented doesn't work. I think its best to delete it. I don't think libc_r needs tags anyway, 'cause most of the source is in libc which does have tags. also: Here's the first batch of man pages for the thread functions. The diff to /usr/src/lib/libc_r/Makefile removes some stuff that was inherited from /usr/src/lib/libc/Makefile that should only be done with libc. also: I should have sent this diff with the pthread(3) man page. It allows people to type make -DWANT_LIBC_R world to get libc_r built with the rest of the world. I put this in the pthread(3) man page. The default is still not to build libc_r. also: The diff attached adds a pthread(3) man page to /usr/src/share/man/man3. The idea is that without libc_r installed, this man page will give people enough info to know that they have to build libc_r. Notes: svn path=/head/; revision=17706
* #if !ANSI !POSIX newly added collate_range_cmp functionAndrey A. Chernov1996-08-131-0/+2
| | | | Notes: svn path=/head/; revision=17577
* There is so many places where range comparation (using collate)Andrey A. Chernov1996-08-121-0/+1
| | | | | | | | needed (much more than I think initially), so I forced to add new user-visible non-standard function to libc. Notes: svn path=/head/; revision=17550
* Create FreeBSD copyright (c comment) for OS versionWolfram Schneider1996-08-041-3/+4
| | | | Notes: svn path=/head/; revision=17432
* New routed.h that goes with the new routed.Garrett Wollman1996-07-221-13/+1
| | | | Notes: svn path=/head/; revision=17253
* Fixed new and old standards conformance bugs. The non-POSIX confstr() wasBruce Evans1996-07-171-3/+2
| | | | | | | | | in the POSIX section for a log time. The non-POSIX getgrouplist() and setgroups() were recently added to the POSIX section although setgroups() was already in the non-POSIX section. Notes: svn path=/head/; revision=17192
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-121-0/+2
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17144
* Add netatalk symlink, ifconfig not compiled in other caseAndrey A. Chernov1996-07-091-2/+2
| | | | Notes: svn path=/head/; revision=17038
* There are a few small additions to the protocol to make itBill Paul1996-07-041-5/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | easier to use in mixed environments: - Add three new members to the request structure: - a filename specification - a database type specification - a system byte prder specification These allow the client to ask the server for a particular type of database (Berkeley DB hash/btree/recno, GNU GDBM, dbm, ndbm, etc...) and get back a meaningful error if the server doesn't support it. The byte order spec is needed if the database type is byte order sensntive. You don't, for example, want to read an ndbm database from a big endian machine on a little endian machine (the ndbm code will explode). The filename spec lets the client handle things like ndbm which uses two seperate files per database (foo.dir and foo.pag). The client can ask for each half, one at a time. - Add a list of database types and byte order values. Each list has a wildcard 'ANY' entry which lets the client ask for whatever the server supports. (XFR_ENDIAN_ANY is useful with the Berkeley DB hash method for instance, since it isn't byte order sensitive.) - Add two newserver failure codes: XFR_DB_TYPE_MISMATCH and XFR_DB_ENDIAN_MISMATCH. The server uses these to tell the client that it doesn't support the requested type/byte order. These changes were made at the suggestion of Thorsten Kukuk, the current maintainer of the Linux ypserv distribution. This allows Linux and FreeBSD NIS servers to use the same ypxfrd protocol and avoid accidentally exchanging incompatible map files. Notes: svn path=/head/; revision=16957
* remove zopen, zopen is not part of libc.Wolfram Schneider1996-07-021-1/+0
| | | | Notes: svn path=/head/; revision=16920
* Added missing prototype for sigaltstack()Sujal Patel1996-06-281-0/+1
| | | | Notes: svn path=/head/; revision=16810
* Add `netkey' to list of kernel directories to include in /usr/include.Garrett Wollman1996-06-151-2/+2
| | | | Notes: svn path=/head/; revision=16396
* Add an independent implementation of addr2ascii(3) and ascii2addr(3)Garrett Wollman1996-06-131-1/+6
| | | | | | | following the API of the INRIA IPv6 implementation. Notes: svn path=/head/; revision=16352
* Now that Peter has been nice enough to bail me out of my last littleBill Paul1996-06-051-4/+5
| | | | | | | mishap, it's time to have the Makefile install ypxfrd.x and ypxfrd.h. Notes: svn path=/head/; revision=16123
* (I hope I'm doing this correctly.)Bill Paul1996-06-051-0/+117
| | | | | | | | | | | | | | | | | | | Import a my own little ypxfrd protocol. Note that this protocol is _NOT_ the same as Sun's, which is proprietary. This basically impliments an RPC-based file transfer protocol which lets a slave server suck over a raw map database file from the master. This is many times faster than the normal method, which requires reading the records from ypserv via yp_all() and then creating a new database on the fly, particularly when you have many tens of thousands of records in a map (e.g. a huge passwd database). The protocol number I chose falls within the 'user-specified' range. Maybe we should register it with Sun so we can get an official vendor number for it. :) Notes: svn path=/cvs2svn/branches/WPAUL/dist/; revision=16119
* Install pccard includes.Poul-Henning Kamp1996-06-041-2/+2
| | | | Notes: svn path=/head/; revision=16113
* Protocol definitions for RIPv2.Garrett Wollman1996-05-301-21/+88
| | | | | | | Obtained from: Vernon Schryver <vjs@mica.denver.sgi.com> Notes: svn path=/head/; revision=16009
* Add an implementation of the gnu-ish asprintf() and vasprintf(). They arePeter Wemm1996-05-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | not based on gpl'ed code, just prototype and usage. I'm not 100% certain they behave the same while the system is in trouble (eg: malloc() failing) but in those circumstances all bets would be off anyway. These routines work like sprintf() and vsprintf(), except that instead of using a fixed buffer, they allocate memory and return it to the user and it's the user's responsibility to free() it. They have allocate as much memory as they need (and can get), so the size of strings it can deal with is limited only by the amount of memory it can malloc() on your behalf. There are a few gpl'ed programs starting to use this interface, and it's becoming more common with the scares about security risks with sprintf(). I dont like the look of the code that the various programs (including cvs, gdb, libg++, etc) provide if configure can't find it on the system. It should be possible to modify the stdio core code to provide this interface more efficiently, I was more worried about having something that worked and was secure. :-) (I noticed that there was once intended to be a smprintf() routine when our stdio was written for 4.4BSD, but it looks pretty stillborn, and it's intended interface is not clear). Since Linux and gnu libc have this interface, it seemed silly to bring yet another one onto the scene. Notes: svn path=/head/; revision=15931
* Made this work with the documented prerequisite #includes (none).Bruce Evans1996-05-011-0/+8
| | | | Notes: svn path=/head/; revision=15485
* Fixed longstanding namespace convolution involving rune_t vs wchar_t.Bruce Evans1996-05-015-39/+51
| | | | | | | | | | | | | | If _ANSI_SOURCE or _POSIX_SOURCE is defined, then <ctype.h> had to be included before <stddef.h> or <stdlib.h> to get rune_t declared. Now rune_t is declared perfectly bogusly in all cases when <ctype.h> is included. This change breaks similar (but more convoluted) convolutions in the stddef.h in gcc distributions. Ports of gcc should avoid using the gcc headers. Notes: svn path=/head/; revision=15483
* Fix sgetrune/sputrune arg type: was unsigned int instead of size_tAndrey A. Chernov1996-04-181-2/+7
| | | | Notes: svn path=/head/; revision=15287