summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* General -Wall warning cleanup, part I.jkh1996-07-1276-321/+383
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* add references lstat(2), readlink(2), symlink(7) in section SEE ALSOwosch1996-07-071-1/+4
|
* Isolated all the crap for thread-safe so I can see what goes on again...phk1996-07-031-61/+48
|
* Describe the "file pointer" in lseeks' man page a bit bettermpp1996-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
* Document the "sig" function parameter.mpp1996-07-032-1/+5
| | | | Submitted by: James Raynard
* Fixed comparisons so that preposterously large (>= 0x80000000) brk valuesbde1996-06-252-10/+10
| | | | | | | | | | aren't silently converted to minbrk. This stops malloc(INT_MAX) from dumping core. Small values are still silently converted. They should be an error. sbrk() doesn't do any range checking or conversions or overflow checking. Moved PIC_EPILOGUE invocation to a more natural place where it obviously doesn't interfere with the comparison.
* Specify that daemon(3) returns int, and standardise thegpalmer1996-06-221-3/+5
| | | | | phrasing in the ERRORS section a bit, as well as now specifying the return status.
* Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>jraynard1996-06-221-3/+2
| | | | | | | | | Document the fact that the tracefile argument must lead to a regular file. Also took the opportunity to remove the spurious "Errors" entry relating to filenames with the high-order bit set and add $Id$. (More of the same to follow if there are no objections).
* Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmerjraynard1996-06-2257-50/+317
| | | | | | | | | | | | | | | | | | | | | Added $Id$'s to files that were lacking them (gpalmer), made some cosmetic changes to conform to style guidelines (bde) and checked against NetBSD and Lite2 to remove unnecessary divergences (hsu, bde) One last code cleanup:- Removed spurious casts in fseek.c and stdio.c. Added missing function argument in fwalk.c. Added missing header include in flags.c and rget.c. Put in casts where int's were being passed as size_t's. Put in missing prototypes for static functions. Changed second args of __sflags() inflags.c and writehook() in vasprintf.c from char * to const char * to conform to prototypes. This directory now compiles with no warnings with -Wall under gcc-2.6.3 and with considerably less warnings than before with the ultra-pedantic script I used for testing. (Most of the remaining ones are due to const poisoning).
* Submitted by: archie@whistle.comjulian1996-06-201-2/+2
| | | | | This program should COMPLAIN about uids > 65K but not abort.. they are after all legal, and some of us NEED them!
* I hate to read a man page that almost has useful informationjmacd1996-06-201-2/+2
| | | | | | | but falls a little short. I added a comment on the null termination of struct group's gr_mem field. Reviewed by: jkh
* Add RCS Id and fix date.wollman1996-06-171-2/+3
|
* Cross-reference addr2ascii(3).wollman1996-06-171-3/+10
|
* Correct date and add $Id$ to reflect previous modification.wollman1996-06-171-2/+3
|
* Cross-reference addr2ascii(3) and inlcude a note about how thosewollman1996-06-171-2/+16
| | | | functions are preferred but are not widely available as yet.
* It would help if I actually added the source code for these routines.wollman1996-06-133-0/+377
|
* Add an independent implementation of addr2ascii(3) and ascii2addr(3)wollman1996-06-131-2/+5
| | | | following the API of the INRIA IPv6 implementation.
* Code cleanup:-jraynard1996-06-122-2/+3
| | | | | The usual stuff, adding missing function prototypes, argument types, return values, etc.
* Code cleanup:-jraynard1996-06-126-13/+13
| | | | | | | The usual stuff, adding missing function prototypes, argument types, return values, etc. This directory now compiles with no warnings with -Wall on gcc2.6.3!
* Code cleanup:-jraynard1996-06-127-12/+11
| | | | | | The usual stuff, adding missing function prototypes, argument types, return values, etc. In mktemp.c, convert pid from u_int to pid_t, and get rid of "extern int errno".
* Code cleanup:-jraynard1996-06-125-5/+5
| | | | | The usual stuff, adding missing function prototypes, argument types, return values, etc.
* Code cleanup:jraynard1996-06-113-9/+9
| | | | | | | | Fixed a couple of nitpick warnings, plus one that slipped through the net earlier. This directory now compiles without any warnings with -Wall! (Until the next gcc upgrade...)
* Code cleanup:jraynard1996-06-109-21/+37
| | | | | | | | | | | | | | | | 1. Added missing function prototypes. 2. Added missing function return types. 3. Added missing function argument types. 4. Added missing headers for system function prototypes. 5. Corrected format specifier in printf(). 6. Added extra parentheses around assignment used as truth value. 7. Added missing "default" cases in switch statements. 8. Added casts for function pointers. 9. Did *not* change int declarations of uid and gid to uid_t/gid_t because I don't know if that would affect the protocol. Put in explicit casts to int instead, to make things more obvious. 10. Moved declarations of variables that are only used if YP is defined inside the '#ifdef YP' conditionals.
* Update man to tell that <sys/types.h> is needed.phk1996-06-101-0/+1
| | | | Submitted by: "Philippe Charnier" <charnier@lirmm.fr>
* Remove extraneous '+' that looks like it was left in by mistake. Thiswpaul1996-06-101-2/+2
| | | | | | module compiles now. Reported by: Stephen Hocking
* Code cleanup (part two):jraynard1996-06-107-22/+30
| | | | | | | | | | | | 1. Added missing function prototypes. 2. Added missing function return types. 3. Added missing function argument types. 4. Added missing headers for system function prototypes. 5. Corrected casts in select() args. 6. Got rid of more "extern int errno" rubbish. 7. Added extra parentheses around assignment used as truth value. 8. Fixed bug in clnt_{tcp, udp}create() where pointers could be free'd even if they hadn't been successfully malloc()'d.
* update sticky bit documentationwosch1996-06-091-8/+3
|
* Use better approximation if collate info not available.ache1996-06-093-16/+41
| | | | Fix bug: strxfrm+strcmp != strcoll, if collate info not available
* Localize it.ache1996-06-091-46/+7
| | | | (it was NOT localized initially, it does some trick instead!)
* Reword the sentence about the required space for the result string.joerg1996-06-091-1/+1
| | | | Closes PR # 1303.-
* Code cleanup (part one):jraynard1996-06-088-14/+28
| | | | | | | | | | | | 1. Added missing function prototypes. 2. Added missing function return types. 3. Added missing function argument types. 4. Added missing headers for system function prototypes. 5. Got rid of "extern int errno" rubbish.
* Rephrase some things as suggested by Bruce.alex1996-06-081-2/+3
|
OpenPOWER on IntegriCloud