summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Correctly document when getopt returns EOF and '?', and some otherMike Pritchard1996-08-211-5/+7
| | | | | | | minor cleanup. Notes: svn path=/head/; revision=17748
* Add IdAndrey A. Chernov1996-08-201-3/+5
| | | | | | | Move comment up to place Notes: svn path=/head/; revision=17718
* Add isblank attr to non-break spaceAndrey A. Chernov1996-08-201-1/+4
| | | | | | | Add comment describing how upper half of table made Notes: svn path=/head/; revision=17712
* Remove isgraph attr from non-break spaceAndrey A. Chernov1996-08-201-1/+1
| | | | Notes: svn path=/head/; revision=17710
* Submitted by: John Birrell <cimaxp1!jb@werple.net.au>Julian Elischer1996-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. Notes: svn path=/head/; revision=17706
* Reflect the removal of the kernel's FD_SETSIZE limit.Sujal Patel1996-08-201-19/+21
| | | | Notes: svn path=/head/; revision=17705
* A pipe function call appeared in Version *3* AT&T UNIX, notWolfram Schneider1996-08-181-1/+1
| | | | | | | | | Version 6. Close PR #1490 Obtained from: Peter H. Saulus in `A Quarter Century of UNIX', page 50 Notes: svn path=/head/; revision=17646
* Don't claim to be POSIX compliant, since our alarm function isn't.Mike Pritchard1996-08-151-5/+5
| | | | Notes: svn path=/head/; revision=17617
* NCARGS is defined as 65536 in the released system, not 20480.Mike Pritchard1996-08-152-2/+2
| | | | Notes: svn path=/head/; revision=17615
* Add IdAndrey A. Chernov1996-08-141-0/+2
| | | | Notes: svn path=/head/; revision=17599
* Fix nasty bracketing/precedence bug. Every time something read (andPeter Wemm1996-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 Notes: svn path=/head/; revision=17584
* Back out fallback approximation changes, they are not so right to liveAndrey A. Chernov1996-08-133-40/+15
| | | | Notes: svn path=/head/; revision=17583
* Back out minor bumping per Peter suggestionAndrey A. Chernov1996-08-131-1/+1
| | | | Notes: svn path=/head/; revision=17580
* simplify/speedup/extendAndrey A. Chernov1996-08-131-18/+22
| | | | Notes: svn path=/head/; revision=17576
* Bump minor number - new function addedAndrey A. Chernov1996-08-131-1/+1
| | | | Notes: svn path=/head/; revision=17573
* Remove old version hooksAndrey A. Chernov1996-08-122-12/+2
| | | | Notes: svn path=/head/; revision=17556
* Convert to newly aded collate compare functionAndrey A. Chernov1996-08-123-10/+10
| | | | Notes: svn path=/head/; revision=17552
* There is so many places where range comparation (using collate)Andrey A. Chernov1996-08-121-9/+20
| | | | | | | | 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=17551
* clear sockaddr_in's on stack before usePeter Wemm1996-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. Notes: svn path=/head/; revision=17543
* Use the more robust and more efficient reserved port allocation mechanismPeter Wemm1996-08-121-21/+45
| | | | | | | | | now built into bind(2). Obtained from: OpenBSD / Jason Downs / Theo de Raadt Notes: svn path=/head/; revision=17542
* clear various struct sockaddr_in's on stack, set sin_len.Peter Wemm1996-08-127-7/+17
| | | | | | | (Noticed when comparing to OpenBSD source) Notes: svn path=/head/; revision=17540
* Use collate for alpha character rangesAndrey A. Chernov1996-08-121-1/+4
| | | | Notes: svn path=/head/; revision=17533
* Remove static collcmp, use new internal function nowAndrey A. Chernov1996-08-121-37/+4
| | | | Notes: svn path=/head/; revision=17532
* Remove static collcmp, ise new internal function nowAndrey A. Chernov1996-08-121-35/+3
| | | | Notes: svn path=/head/; revision=17531
* Add internal function __collcmp once instead of adding it staticallyAndrey A. Chernov1996-08-123-2/+65
| | | | | | | to many places in the libc Notes: svn path=/head/; revision=17530
* Use collate for alpha character rangesAndrey A. Chernov1996-08-121-1/+35
| | | | Notes: svn path=/head/; revision=17528
* Use collate data for national alpha character ranges like [a-z]Andrey A. Chernov1996-08-111-4/+45
| | | | Notes: svn path=/head/; revision=17514
* Short value is better for hash due to easy overflow in 8bit charactersAndrey A. Chernov1996-08-111-1/+1
| | | | Notes: svn path=/head/; revision=17509
* Use locale for character classes instead of hardcoded valuesAndrey A. Chernov1996-08-114-37/+89
| | | | | | | Misc 8bit cleanup Notes: svn path=/head/; revision=17508
* Remove some hardcode *roff font change escape codes fromMike Pritchard1996-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> Notes: svn path=/head/; revision=17457
* Correct the paramter type of the second argument to fgets.Mike Pritchard1996-08-061-1/+1
| | | | | | | Obtained from: NetBSD-bugs mailing list Notes: svn path=/head/; revision=17456
* Document that the relevant clock ticks are for the statistics clockBruce Evans1996-07-301-0/+3
| | | | | | | and that the statistics clock has a frequency of sysconf(_SC_CLK_TCK). Notes: svn path=/head/; revision=17346
* Document that clock ticks are for the profiling clock and that theBruce Evans1996-07-301-2/+4
| | | | | | | clock frequency is stored in the gmon header. Notes: svn path=/head/; revision=17345
* Fixed description of _SC_CLK_TCK. Both the clock and the unitsBruce Evans1996-07-301-1/+1
| | | | | | | were wrong. Notes: svn path=/head/; revision=17344
* Fixed comment about ru_maxrss. This field isn't an integral.Bruce Evans1996-07-301-1/+1
| | | | Notes: svn path=/head/; revision=17343
* Fix some of the problems that bde pointed out to me some time ago.Peter Wemm1996-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. Notes: svn path=/head/; revision=17319
* Refer to the ASCII character 000 by its proper name, `NUL', and notGarrett Wollman1996-07-251-11/+12
| | | | | | | | `NULL' (which should only be used in reference to null pointers). Also fix a cross-reference. Notes: svn path=/head/; revision=17286
* Finish rename of KERN_DOMAINNAME to KERN_NISDOMAINNAME.Garrett Wollman1996-07-252-4/+4
| | | | | | | Suggested by: Keith Bostic Notes: svn path=/head/; revision=17282
* Bring in fixes to db 1.85 from NetBSD. These fixes have been documented asPaul Traina1996-07-213-18/+39
| | | | | | | | being sent back to Bostic by the NetBSD crew. Obtained from: NetBSD-current Notes: svn path=/head/; revision=17235
* Document madvise(2) as it is in FreeBSD.John Dyson1996-07-201-11/+40
| | | | Notes: svn path=/head/; revision=17229
* The previous change to alarm.3 to improve the wordingMike Pritchard1996-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 Notes: svn path=/head/; revision=17226
* Revert to old version of strftime.c; the new one doesn't work right.Garrett Wollman1996-07-191-110/+78
| | | | Notes: svn path=/head/; revision=17224
* the previous text was absurd, and wrongAdam David1996-07-191-2/+2
| | | | Notes: svn path=/head/; revision=17222
* Merge the recently-imported tzcode96h distribution (libc portion). TheGarrett Wollman1996-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). Notes: svn path=/head/; revision=17209
* In _yp_dobind(), if we find ourselves required to contact the local ypbindBill Paul1996-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 Notes: svn path=/head/; revision=17162
* Include the proper header file (<unistd.h>) and declare [gs]etdomainname()Garrett 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 Notes: svn path=/head/; revision=17145
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-1276-321/+383
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17141
* add references lstat(2), readlink(2), symlink(7) in section SEE ALSOWolfram Schneider1996-07-071-1/+4
| | | | Notes: svn path=/head/; revision=16997
* Isolated all the crap for thread-safe so I can see what goes on again...Poul-Henning Kamp1996-07-031-61/+48
| | | | Notes: svn path=/head/; revision=16941
* Describe the "file pointer" in lseeks' man page a bit betterMike Pritchard1996-07-031-2/+3
| | | | | | | | | | so that it is less likely someone will confuse it with a "FILE *" type pointer. Submitted by: Based on James Raynard's patch Notes: svn path=/head/; revision=16937