summaryrefslogtreecommitdiffstats
path: root/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* sysctl({CTL_KERN, KERN_FILE, KERN_FILE_BYFILE}) previously requiredguenther2015-02-111-3/+3
| | | | | | | the extra argument to be zero; instead, make it filter on the file type (DTYPE_*) when non-zero to make claudio's netstat work easier. ok claudio@
* move scheck.c into zic.ctedu2015-02-101-7/+1
|
* now we're cooking with gas...tedu2015-02-101-4/+7
| | | | replace difftime with a clever gift from matthew. ok guenther.
* matthew suggests a double cast so sf mortgages work right. :)tedu2015-02-101-2/+2
|
* remove CMU gtimetedu2015-02-101-21/+1
|
* it is not strictly necessary to cast the "return value" of free() to void.tedu2015-02-091-16/+15
|
* - register int idays; /* unsigned would be so 2003 */tedu2015-02-094-118/+118
| | | | | | + int idays; /* unsigned would be so 2003 */ register is so 1973
* always define ALL_STATE (which, contrary to the name is not about alltedu2015-02-091-42/+1
| | | | states, but rather heap allocating the state) and unifdef the rest
* the one true type of time_t is a signed integertedu2015-02-094-60/+19
|
* remove INITIALIZE macro and do it the hard way.tedu2015-02-092-36/+4
|
* unifdef the rest of the HAVEs and HAVE notstedu2015-02-091-30/+1
|
* unifdef have gettext. don't have it, won't have it.tedu2015-02-091-10/+1
|
* move include lines around a bittedu2015-02-095-19/+17
|
* trim down some of the ifndef redefine madnesstedu2015-02-091-90/+10
|
* replace homegrown is_digit with correct calls to isdigit()tedu2015-02-092-10/+7
|
* move zic and zdump source to appropriate directoriestedu2015-02-095-3991/+0
|
* stop trying to workaround malloc bugs that have not existed for 20 years.tedu2015-02-094-120/+37
| | | | ok deraadt
* search engines replaced these files a long TIME agoderaadt2015-02-092-1195/+0
|
* if isascii isn't defined, don't define a retarded versiontedu2015-02-091-4/+1
|
* greatly simplfy and correct difftime for large time_t. ok guenthertedu2015-02-091-55/+5
|
* this removes just a few ifdef checks for things that should always be enabled,tedu2015-02-095-65/+8
| | | | | | | | | and which we definitely don't want to workaround. no change in the compiled code (yet). some of these, like the first chunk are plain silly. the compiler used to compile asctime has nothing to do with the format strings strftime should support. ok deraadt
* document restriction on argv having one elementtedu2015-02-071-3/+6
|
* Add examples for stravis() and strnvis() to vis.3.doug2015-02-071-2/+33
| | | | | | Show the best ways to encode a dynamic and static buffer. input + ok schwarze@, ok jmc@