summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* List all of the include files required for getpeername and getsockname.mpp1996-08-222-0/+4
| | | | | | Closes PR# 1170. Submitted by: James Raynard <jraynard@dial.pipex.com>
* Submitted by: john birell (jb@cimlogic.com.au)julian1996-08-222-6/+6
| | | | | fixups for makefiles and for Thread-safe sycalls
* Some cleanups to the callout lists recently added.julian1996-08-221-0/+3
| | | | | | | | note that at_shutdown has a new parameter to indicate When during a shutdown the callout should be made. also add a RB_POWEROFF flag to reboot "howto" parameter.. tells the reboot code in our at_shutdown module to turn off the UPS and kill the power. bound to be useful eventually on laptops
* Update some more man pages to use the .Fx macro.mpp1996-08-213-5/+7
|
* Correctly document when getopt returns EOF and '?', and some othermpp1996-08-211-5/+7
| | | | minor cleanup.
* Add Idache1996-08-201-3/+5
| | | | Move comment up to place
* Add isblank attr to non-break spaceache1996-08-201-1/+4
| | | | Add comment describing how upper half of table made
* Remove isgraph attr from non-break spaceache1996-08-201-1/+1
|
* Submitted by: John Birrell <cimaxp1!jb@werple.net.au>julian1996-08-2012-74/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Reflect the removal of the kernel's FD_SETSIZE limit.smpatel1996-08-201-19/+21
|
* A pipe function call appeared in Version *3* AT&T UNIX, notwosch1996-08-181-1/+1
| | | | | | Version 6. Close PR #1490 Obtained from: Peter H. Saulus in `A Quarter Century of UNIX', page 50
* Don't claim to be POSIX compliant, since our alarm function isn't.mpp1996-08-151-5/+5
|
* NCARGS is defined as 65536 in the released system, not 20480.mpp1996-08-152-2/+2
|
* Add Idache1996-08-141-0/+2
|
* Fix nasty bracketing/precedence bug. Every time something read (andpeter1996-08-131-2/+2
| | | | | | | | | refilled) a file that was either line- or un-buffered, all files were flushed. According to the code comment, the flush (according to ANSI) is supposed to happen on write + line buffered output files, not _all_ files. Obtained from: OpenBSD / Theo de Raadt, possibly from proven@cygnus.com
* Back out fallback approximation changes, they are not so right to liveache1996-08-133-40/+15
|
* Back out minor bumping per Peter suggestionache1996-08-131-1/+1
|
* simplify/speedup/extendache1996-08-131-18/+22
|
* Bump minor number - new function addedache1996-08-131-1/+1
|
* Remove old version hooksache1996-08-122-12/+2
|
* Convert to newly aded collate compare functionache1996-08-123-10/+10
|
* There is so many places where range comparation (using collate)ache1996-08-121-9/+20
| | | | | needed (much more than I think initially), so I forced to add new user-visible non-standard function to libc.
* clear sockaddr_in's on stack before usepeter1996-08-121-26/+28
| | | | | | | | | set sin_len close one ftp port bounce attack have rresvport() use bindresvport() rather than duplicate the code, rresvport() is a superset of bindresvport(). Obtained from: OpenBSD / Jason Downs / Theo de Raadt, minor tweaks by me.
* Use the more robust and more efficient reserved port allocation mechanismpeter1996-08-121-21/+45
| | | | | | now built into bind(2). Obtained from: OpenBSD / Jason Downs / Theo de Raadt
* clear various struct sockaddr_in's on stack, set sin_len.peter1996-08-127-7/+17
| | | | (Noticed when comparing to OpenBSD source)
* Use collate for alpha character rangesache1996-08-121-1/+4
|
* Remove static collcmp, use new internal function nowache1996-08-121-37/+4
|
* Remove static collcmp, ise new internal function nowache1996-08-121-35/+3
|
* Add internal function __collcmp once instead of adding it staticallyache1996-08-123-2/+65
| | | | to many places in the libc
* Use collate for alpha character rangesache1996-08-121-1/+35
|
* Use collate data for national alpha character ranges like [a-z]ache1996-08-111-4/+45
|
* Short value is better for hash due to easy overflow in 8bit charactersache1996-08-111-1/+1
|
* Use locale for character classes instead of hardcoded valuesache1996-08-114-37/+89
| | | | Misc 8bit cleanup
* Remove some hardcode *roff font change escape codes frommpp1996-08-062-4/+4
| | | | | | | | | | this man page to prevent half of it from coming out with underlines. This man page needs to be gone over to fully convert it to mdoc format. This closes PR#1440. Submitted by: Jens Schweikhardt <schweikhardt@rus.uni-stuttgart.de>
* Correct the paramter type of the second argument to fgets.mpp1996-08-061-1/+1
| | | | Obtained from: NetBSD-bugs mailing list
* Document that the relevant clock ticks are for the statistics clockbde1996-07-301-0/+3
| | | | and that the statistics clock has a frequency of sysconf(_SC_CLK_TCK).
* Document that clock ticks are for the profiling clock and that thebde1996-07-301-2/+4
| | | | clock frequency is stored in the gmon header.
* Fixed description of _SC_CLK_TCK. Both the clock and the unitsbde1996-07-301-1/+1
| | | | were wrong.
* Fixed comment about ru_maxrss. This field isn't an integral.bde1996-07-301-1/+1
|
* Fix some of the problems that bde pointed out to me some time ago.peter1996-07-281-7/+16
| | | | | | - buffer expansions were not working right due to a return code botch. - signed types instead of size_t's meant somebody else went and put casts in, I've changed the types to what they should have been.
* Refer to the ASCII character 000 by its proper name, `NUL', and notwollman1996-07-251-11/+12
| | | | | `NULL' (which should only be used in reference to null pointers). Also fix a cross-reference.
* Finish rename of KERN_DOMAINNAME to KERN_NISDOMAINNAME.wollman1996-07-252-4/+4
| | | | Suggested by: Keith Bostic
* Bring in fixes to db 1.85 from NetBSD. These fixes have been documented aspst1996-07-213-18/+39
| | | | | being sent back to Bostic by the NetBSD crew. Obtained from: NetBSD-current
* Document madvise(2) as it is in FreeBSD.dyson1996-07-201-11/+40
|
* The previous change to alarm.3 to improve the wordingmpp1996-07-191-19/+24
| | | | | | | | was still somewhat confusing and poorly worded. So I took the alarm.3 man page from NetBSD, which looked much better all around. Obtained from: NetBSD
* Revert to old version of strftime.c; the new one doesn't work right.wollman1996-07-191-110/+78
|
* the previous text was absurd, and wrongadam1996-07-191-2/+2
|
* Merge the recently-imported tzcode96h distribution (libc portion). Thewollman1996-07-186-193/+254
| | | | | | part that does zic(8)/zdump(8) is still yet to be imported (but the old zic and zdump will work just fine with these header files and the data format has not changed).
* In _yp_dobind(), if we find ourselves required to contact the local ypbindwpaul1996-07-131-0/+18
| | | | | | | | | | | | | | | directly in order to obtain binding information, check that the local ypbind is using a reserved port and return YPERR_YPBIND if it isn't. We should not trust any ypbind running on a port >= IPPORT_RESERVED; it may have been started by a malicious user hoping to trick us into talking to a bogus ypserv. Note that we do not check the ypserv port returned to us from ypbind. It is assumed that ypbind has already done a reserved port test (or not, depending on whether or not it was started with -s); if we trust the authenticity of the local ypbind, we should also trust its judgement. Obtained from: OpenBSD
* Include the proper header file (<unistd.h>) and declare [gs]etdomainname()wollman1996-07-122-11/+8
| | | | | | | with the correct return type. This does not include the renaming of KERN_DOMAINNAME to KERN_NISDOMAINNAME. Pointed-out-by: Keith Bostic
OpenPOWER on IntegriCloud