| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
which will satisfy the toughest compiler options
|
| |
|
|
|
|
| |
OK deraadt@
|
|
|
|
|
|
| |
list of "[size]n" includes "n" on it's own, thereby the "int" case is
described correctly.
ok schwarze
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to properly show the (differing) syntaxes of all the conversion
specifications, and reduce the amount of forward references from
the list of modifiers to the list of specifiers.
While here, properly explain %lc and %ls.
Also correct RETURN VALUES, which incorrectly talked about
counting characters while actually bytes are counted.
Using feedback from millert@, deraadt@, tb@, and Martin Vahlensieck.
OK deraadt@, millert@, and tb@ on intermediate versions of this diff
and no objections from jmc@.
|
|
|
|
|
|
|
|
| |
1. Clarify that %G uses %F, not %f; noticed by millert@.
2. Mention that %g originally meant "general notation", see:
https://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/libc/stdio/doprnt.s
Triggered by a somewhat different patch from Ian <ropers at gmail dot com>.
Feedback and OK millert@ and jmc@.
|
| |
|
|
|
|
|
|
|
|
|
| |
and that the ret pointer is either unchanged or set to NULL
in this case.
Since these two functions are not standardized by POSIX,
documenting the actual behaviour is the way to go, and the
above matches all non-buggy implementations we are aware of.
OK millert@ deraadt@
|
|
|
|
|
|
| |
of the return values to RETURN VALUES, deprecate [v]sprintf(3)
and fix a punctuation typo.
Joint work with and OK millert@.
|
| |
|
|
|
|
|
| |
failure is with < 0, not the more specific -1 from C
discussed at length with millert, nicm, schwarze
|
|
|
|
|
|
|
|
| |
CAVEATS pointing to the new CAVEATS section in setlocale(3).
Make those in wprintf(3) and wscanf(3) more concise
since duplicate information is a bad idea.
Incompleteness of information originally pointed out by millert@.
OK millert@
|
| |
|
|
|
|
|
| |
string-handling <stdio.h> functions, like we already do it for <string.h>.
Includes a smaller patch from <kshe59 at zoho dot eu>, OK jmc@.
|
| |
|
| |
|
|
|
|
|
| |
these functions return a negative value on failure.
OK doug@ deraadt@
|
|
|
|
| |
available on more systems these days. OK deraadt@
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
| |
simply say all other combinations are behaviour undefined;
ok guenther, who reminded me to change these too;
|
|
|
|
| |
reminder that the return value is int...
|
|
|
|
| |
ok millert@
|
| |
|
|
|
|
| |
ok guenther
|
|
|
|
|
| |
facts checked by sobrado@
style tweaks and ok jmc@
|
| |
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
ok guenther@
|
|
|
|
|
| |
Feedback from millert@ guenther@
OK guenther@ man page bits OK jmc@
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
when the argument is infinity/not-a-number
ok millert@, jmc@
|
|
|
|
| |
tweaks/ok millert@, jmc@
|
|
|
|
|
|
| |
- make inf INF nan NAN comply to standards (eEfFgG)
- extend man page bits
ok millert@. w/ a man page tweak and ok jmc@
|
| |
|
| |
|
|
|
|
| |
part from FreeBSD.
|
|
|
|
|
|
|
| |
for such a small diff, this one was hard work...
based on a diff from ray lai;
blood, sweat, and tears (and ok) kettenis
|
|
|
|
| |
ok deraadt espie kettenis
|
|
|
|
|
|
| |
- avoid first person
ok jmc
|
|
|
|
|
|
| |
this should have been in CAVEATS anyway.
ok millert, jmc
|
|
|
|
| |
is more clear which variants return which values; ok jmc otto
|
|
|
|
| |
ok jmc@ millert@
|
|
|
|
|
| |
termination with '\0') vs. null termination.
Input from krw@, jaredy@, jmc@. OK deraadt@
|
|
|
|
| |
ok millert@ deraadt@
|
|
|
|
| |
ok millert@
|
| |
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|