summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tidy up by inlining next level included makefilestedu2015-04-067-51/+38
| | | | ok deraadt guenther
* seems unlikely that a new release will be made available for us to importtedu2015-04-052-68/+1
|
* Stop encoding the syscall number in the swi instruction - this has beenjsing2015-03-311-4/+3
| | | | | | | unused for around 8 years, when the kernel ABI was changed to use the syscall number specified in r12. ok miod@ jsg@
* Simplify fork/vfork logic: the kernel has handled returning zero in the childguenther2015-03-3124-243/+43
| | | | | | | for a long time, so there's no need to test the second return register here in the asm stub. ok and testing of many archs by krw@ miod@
* Use -> instead of a right arrow when referring to C's -> operator.bentley2015-03-261-3/+3
| | | | with input from jmc@ schwarze@
* Make rcmdsh(3) not fail if it is passed a non resolvable hostname.halex2015-03-233-20/+16
| | | | | | | Instead, silently ignore the fact and instead let the underlying ssh (or $RSH) command handle it. ok millert@
* fix memory leaks in tempnam(3) error pathsjsg2015-03-231-5/+6
| | | | ok miod@ millert@ krw@ guenther@
* differentiate between a failed read, returning -1, and encounteringhalex2015-03-221-2/+4
| | | | | | | end-of-file, returning 0, in order not to print an unrelated strerror(errno) in the latter case ok millert@
* Resolve a mandoc -Tlint warning about trailing whitespace.stsp2015-03-221-2/+2
|
* More wide character string function man page improvements based on feedbackstsp2015-03-223-24/+15
| | | | by Kaspars Bankovskis. ok jmc@
* unmute rcmd hostname lookup failurehalex2015-03-221-3/+2
| | | | ok millert@ jung@
* according to javad kouhi, freebsd pr #198612, vfork appeared first in bsd 3.0;jmc2015-03-211-3/+3
| | | | thanks sobrado for verifying (and okaying this)
* zap #if 0'd code that's been dead since '96halex2015-03-191-7/+0
| | | | ok todd@
* better wording, from andre smagin; ok stspjmc2015-03-193-12/+12
|
* use 4x buffer size for opendir. speeds up large directory reading, andtedu2015-03-181-2/+2
| | | | | increased memory use is minimal. ok deraadt logan
* TZ_MAX_CHARS in the old tzfile.h bears no resemblence to the actualmillert2015-03-141-3/+3
| | | | | | max time zone length used by libc/time. Just use PATH_MAX for now (since zone files are path names). This function is slated to be removed at the next libc major bump.
* Do not reference tzfile.h since that is an internal header.millert2015-03-141-12/+12
| | | | | Be clear that "standard" byte order means big endian. Update struct ttinfo.
* remove incorrect statement. the standard *does* require calloc to checktedu2015-03-141-7/+2
| | | | | for overflow. stop talking about old broken systems, there's little use for such info.
* remove the first comma from constructs like ", and," and ", or,": you can usejmc2015-03-133-10/+10
| | | | | "and" and "or" to join sentence clauses, and you can use commas, but both hinders reading;
* delete useless comment about Open Groupderaadt2015-03-131-5/+1
|
* _PERFPOLICY can also be set to "high"; it's "auto" not "automatic"; and the variablejmc2015-03-121-4/+9
| | | | | | | itself has bearing on _SETPERF; many thanks to theo buehler who both supplied a diff and corrected various issues with my diff;
* Fix typo: nemb -> nmemblteo2015-03-121-3/+3
| | | | From Ryan May.
* document HW_PERFPOLICY; ok tedujmc2015-03-111-2/+9
|
* Revert; committed by accident without approval from deraadt@ at releaselteo2015-03-051-2/+2
| | | | time. Prodded by guenther@. Sorry.
* Fix typo, from Ryan May.lteo2015-03-051-3/+3
|
* sort sections;jmc2015-03-031-4/+4
|
* Fix variable name typo in IDIOMS.kspillner2015-03-031-3/+3
| | | | ok millert@
* Update comment to match code; Caspar Schutijsermillert2015-03-021-2/+2
|
* Document that POLLPRI and POLLRDBAND are set for out-of-band socketmillert2015-03-021-2/+15
| | | | data.
* Document out-of-band data on a socket as an example of an exceptionalmillert2015-03-021-2/+4
| | | | condition.
* Document when closefrom() was added to OpenBSD. OK bcook@millert2015-03-021-1/+6
|
* Note that closefrom is an extension.bcook2015-03-021-2/+7
| | | | suggested and ok reyk@
* gethostbyname(3) would fail when more than 16 addrs/aliases were returned.brynet2015-03-021-7/+7
| | | | | | | | | Bump MAXADDRS/ALIASES to the original of 35, and silently ignore extras instead of failing. Noticed by markson on freenode. OK eric@ "with revised diff", phessler@.
* Reduce usage of predefined strings in manpages.bentley2015-02-286-25/+36
| | | | | | | | | | | Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@
* Be clear that when tv_nsec is set to UTIME_*, tv_sec is ignored.millert2015-02-271-3/+6
| | | | OK guenther@
* we don't let strtonum errors bleed through now.tedu2015-02-241-4/+2
|
* Set errno to EINVAL, instead of letting ERANGE escape out.tedu2015-02-241-2/+4
| | | | | | Printing strerror() in that case will say result too large, even if rounds is actually too small. invalid is less specific, but less incorrect. ok millert
* Convert a table unsupported by mandoc to a columnated list.bentley2015-02-231-34/+34
| | | | | | | While here, correctly mark up time_t as a variable type and use prettier double quotes. ok schwarze@
* update siphash manpages to reflect change in return type spelling.tedu2015-02-211-4/+4
| | | | ok dlg
* Use standard spelling for types, and rename local variable from "free".tedu2015-02-201-17/+17
| | | | | No actual change, but makes it easier to reuse the code elsewhere. Suggested by Andre Smagin
* Amend documentation for AI_ADDRCONFIGjca2015-02-161-2/+4
| | | | ok jmc@
* sprinkle braces around multi line statementstedu2015-02-161-11/+19
|
* pull scopes without conditionals up into enclosing blocktedu2015-02-161-38/+29
|
* knf indents to give me a fighting chance at differentiating new blockstedu2015-02-162-179/+190
| | | | from continuation lines, of which there are many
* drop an ansi bomb on the function definitionstedu2015-02-163-165/+56
|
* redundant though it may be, recv() is unlikely to be removed in a futuretedu2015-02-161-3/+2
| | | | release. ok millert
* lsearch and lfind return void *tedu2015-02-151-4/+4
|
* Limit AI_ADDRCONFIG effects to DNS queries.jca2015-02-142-18/+19
| | | | | | | | | This is what RFC 2553 initially described, sadly RFC 3493 stopped limiting scope to DNS. This can result in nonsensical failures with loopback addresses, link-local addresses, raw addresses and /etc/hosts entries. with and ok eric@ sperreault@
* use a width specifier for lists, and Sq rather than Dq for single lettersjmc2015-02-111-3/+3
| | | | to avoid swamping it;
* the possible algos for pref should be documented heretedu2015-02-111-4/+11
|