Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sync printf family return value with ISO C which specifies that | 2015-10-13 | 1 | -3/+3 | |
| | | | | | these functions return a negative value on failure. OK doug@ deraadt@ | ||||
* | snprintf(3) is available on all modern systems and asprintf(3) is | 2015-06-03 | 1 | -6/+4 | |
| | | | | available on more systems these days. OK deraadt@ | ||||
* | Reduce usage of predefined strings in manpages. | 2015-02-28 | 1 | -4/+4 | |
| | | | | | | | | | | | 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@ | ||||
* | remove .Tn from stdio manuals; Kaspars Bankovskis found one of these | 2015-01-13 | 1 | -10/+6 | |
| | |||||
* | Reduce instances of `` '' in manuals. | 2014-11-15 | 1 | -3/+4 | |
| | | | | | | | | | | | | troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@ | ||||
* | for non-valid combinations with `#', instead of trying to list them all, | 2014-05-13 | 1 | -12/+3 | |
| | | | | | | simply say all other combinations are behaviour undefined; ok guenther, who reminded me to change these too; | ||||
* | when demonstrating the correct "double-check" idiom, provide a | 2014-05-09 | 1 | -3/+3 | |
| | | | | reminder that the return value is int... | ||||
* | add closing parenthesis. | 2014-04-22 | 1 | -3/+3 | |
| | | | | ok millert@ | ||||
* | need to escape %U, since it is used in Re/Rs blocks; | 2014-04-19 | 1 | -2/+2 | |
| | |||||
* | Demonstrate correct usage of snprintf (regarding overflow detection) | 2014-04-19 | 1 | -3/+5 | |
| | | | | ok guenther | ||||
* | more library history | 2013-07-17 | 1 | -2/+19 | |
| | | | | | facts checked by sobrado@ style tweaks and ok jmc@ | ||||
* | Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze | 2013-06-05 | 1 | -5/+5 | |
| | |||||
* | When there are multiple groups of functions with their own #includes | 2013-04-01 | 1 | -2/+3 | |
| | | | | | | | | listed, the #includes in each group are independent, so that users don't need to guess at possible carry-over. general idea ok otto@ millert@ actual diff ok jmc@ schwarze@ | ||||
* | Update STANDARDS section as appropriate for C99. | 2013-03-04 | 1 | -4/+6 | |
| | | | | ok guenther@ | ||||
* | Add support for POSIX.1-2008 functions dprintf(3) and vdprintf(3). | 2013-01-30 | 1 | -3/+26 | |
| | | | | | Feedback from millert@ guenther@ OK guenther@ man page bits OK jmc@ | ||||
* | make -column lists pretty again; | 2011-09-03 | 1 | -5/+5 | |
| | | | | | | | | | | specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense. | ||||
* | dispense with some wacky escape sequences; | 2010-03-26 | 1 | -4/+4 | |
| | |||||
* | - describe how printf(1) and printf(3) %e, %E, %g, %G, %a, %A behave | 2008-09-15 | 1 | -2/+38 | |
| | | | | | when the argument is infinity/not-a-number ok millert@, jmc@ | ||||
* | describe %a/%A. from freebsd | 2008-09-14 | 1 | -2/+58 | |
| | | | | tweaks/ok millert@, jmc@ | ||||
* | - add F | 2008-08-26 | 1 | -3/+16 | |
| | | | | | | - make inf INF nan NAN comply to standards (eEfFgG) - extend man page bits ok millert@. w/ a man page tweak and ok jmc@ | ||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | clarify return values, prompted by moritz; ok moritz jmc | 2007-04-01 | 1 | -4/+8 | |
| | |||||
* | Use long long and intmax_t instead of quad_t throughout. Adapted in | 2006-01-13 | 1 | -122/+61 | |
| | | | | part from FreeBSD. | ||||
* | improve the RETURN VALUES section; | 2006-01-07 | 1 | -8/+12 | |
| | | | | | | | for such a small diff, this one was hard work... based on a diff from ray lai; blood, sweat, and tears (and ok) kettenis | ||||
* | support %jd from c99, although intmax_t may not be available. | 2005-09-23 | 1 | -1/+16 | |
| | | | | ok deraadt espie kettenis | ||||
* | - typos, punctuation, spacing, macro, layout, etc. fixes | 2005-07-26 | 1 | -7/+10 | |
| | | | | | | - avoid first person ok jmc | ||||
* | remove note about long double not being supported by vax. | 2005-07-26 | 1 | -5/+2 | |
| | | | | | | this should have been in CAVEATS anyway. ok millert, jmc | ||||
* | move return values to a seperate section, and split them out so that it | 2005-04-14 | 1 | -37/+49 | |
| | | | | is more clear which variants return which values; ok jmc otto | ||||
* | Explain what happens when len equals 0 for snprintf(). | 2005-04-14 | 1 | -1/+9 | |
| | | | | ok jmc@ millert@ | ||||
* | Be correct in our man pages when talking about NUL termination (that is, | 2005-02-25 | 1 | -2/+2 | |
| | | | | | termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@ | ||||
* | Add 'z' and 't' modifiers for printing size_t and ptrdiff_t. | 2004-09-18 | 1 | -1/+42 | |
| | | | | ok millert@ deraadt@ | ||||
* | Sort headers in example | 2003-08-17 | 1 | -2/+2 | |
| | | | | ok millert@ | ||||
* | .Ql Cm -> .Sq Cm where literal makes no sense; | 2003-07-15 | 1 | -2/+2 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | typos; | 2003-05-03 | 1 | -4/+4 | |
| | |||||
* | Warn people that the value of the pointer passed in to asprinf() | 2003-04-16 | 1 | -3/+8 | |
| | | | | | is implementation-specific when we get ENOMEM but mention that *we* set it to NULL. | ||||
* | Document that *printf can return -1 on error. This includes snprintf(), | 2002-07-24 | 1 | -1/+2 | |
| | | | | though our implementation never does this. | ||||
* | o) start new sentence on a new line; | 2002-05-01 | 1 | -2/+3 | |
| | | | | | | | o) always close .Bl tags; o) fix usage of .Xr; millert@ ok | ||||
* | It is silly to reference the Tahoe architecture. | 2001-09-06 | 1 | -4/+2 | |
| | |||||
* | document ll, depreciate q | 2001-06-23 | 1 | -4/+6 | |
| | |||||
* | Fix pasto; kleink@netbsd.org | 2001-06-05 | 1 | -2/+2 | |
| | |||||
* | It's not that I mind split infinitives. I just like to save'em for when | 2001-02-17 | 1 | -2/+2 | |
| | | | | they're really needed. | ||||
* | Various repairs, mostly to get rid of short lines. | 2000-12-24 | 1 | -3/+2 | |
| | |||||
* | In the format string bug description under CAVEATS, clarify what we mean by | 2000-08-25 | 1 | -4/+4 | |
| | | | | building the string ``by hand'' using a function like snprintf(); deraadt@ ok | ||||
* | Stronger caveat wrt stack smashing via % escapes. Each man page | 2000-07-16 | 1 | -5/+14 | |
| | | | | carries the same caveat... | ||||
* | Insert missing semi-colon. | 2000-07-07 | 1 | -2/+2 | |
| | |||||
* | correct return values | 2000-06-25 | 1 | -12/+13 | |
| | |||||
* | C deals with complex functions, but not imaginary ones yet. | 2000-04-25 | 1 | -3/+2 | |
| | |||||
* | Flesh out all of the stdio man pages. | 2000-04-20 | 1 | -44/+48 | |
| | |||||
* | Repairs, mostly removing hard sentence breaks. | 2000-04-18 | 1 | -13/+18 | |
| |