| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Reviewed by: ed, dim (code only)
Sponsored by: Mellanox Technologies
MFC after: 1 week
Notes:
svn path=/head/; revision=334031
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
output, from this:
strnlen, strlen, strlen,(3) - find length of string │·······
... to this:
strlen, strnlen(3) - find length of string
PR: 223525
MFC after: 2 weeks
Notes:
svn path=/head/; revision=332642
|
|
|
|
|
|
|
|
|
|
|
|
| |
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
Notes:
svn path=/head/; revision=314436
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When adding getline(3) and dprintf(3) into libc, those guards were added
to prevent breaking too many ports.
7 years later the ports tree have been fixed, it is time to remove this
FreeBSDism
While here remove the extra parenthesis surrounding dprintf(3)
Notes:
svn path=/head/; revision=303524
|
|
|
|
|
|
|
|
| |
PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>
Notes:
svn path=/head/; revision=267774
|
|
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=242738
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
true if the size is zero.
- Fix a claim that sprintf() is the same as snprintf() with an
infinite size. It's equivalent to snprintf() with a size of
INT_MAX + 1.
- Document the return values in the return values section.
- Document the possible errno value of EOVERFLOW.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=234530
|
|
|
|
|
|
|
| |
Approved by: rrs (mentor)
Notes:
svn path=/head/; revision=212463
|
|
|
|
|
|
|
| |
Approved by: rrs (mentor)
Notes:
svn path=/head/; revision=211936
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bottom of the manpages and order them consistently.
GNU groff doesn't care about the ordering, and doesn't even mention
CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put
them.
Found by: mdocml lint run
Reviewed by: ru
Notes:
svn path=/head/; revision=208027
|
|
|
|
|
|
|
| |
Reviewed by: brueffer
Notes:
svn path=/head/; revision=207940
|
|
|
|
|
|
|
| |
ANSIfy vasprintf() while I'm here.
Notes:
svn path=/head/; revision=206217
|
|
|
|
| |
Notes:
svn path=/head/; revision=203958
|
|
|
|
|
|
|
|
|
| |
PR: 141087
Submitted by: Jeremy Huddleston <jeremyhu@apple.com>
MFC after: 3 days
Notes:
svn path=/head/; revision=200019
|
|
|
|
|
|
|
|
|
| |
dprintf() is a simple wrapper around another function, so we may as
well implement it. But also like getline(), we can't prototype it by
default right now because it would break too many ports.
Notes:
svn path=/head/; revision=189356
|
|
|
|
| |
Notes:
svn path=/head/; revision=187809
|
|
|
|
|
|
|
| |
numbers.
Notes:
svn path=/head/; revision=178141
|
|
|
|
|
|
|
|
|
| |
clause.
# If I've done so improperly on a file, please let me know.
Notes:
svn path=/head/; revision=165903
|
|
|
|
| |
Notes:
svn path=/head/; revision=149792
|
|
|
|
|
|
|
| |
conversion specifiers (a, A, e, E, f, F, g and G).
Notes:
svn path=/head/; revision=136592
|
|
|
|
| |
Notes:
svn path=/head/; revision=131365
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Update and improve the documentation for %[aA]
o Like %[eE], %[aA] may round the result if a precision is specified.
o Grammar police: Fix a split infinitive.
o The FreeBSD implementation does better than the minimum required
by C99 (literal translation of the mantissa). The digit before
the hexadecimal-point is never 0 unless the number itself is 0.
o Clarify that the exponent field represents a decimal exponent of 2.
o Discuss the fact that multiple valid representations are possible.
o Remove the entry in the BUGS section claiming that %[aA] is not
implemented.
- Remove the entry in the BUGS section claiming that the ' flag for
printing thousands separators is unimplemented for floating-point.
- Remove the entry in the BUGS section claiming that the L modifier
reduces the precision to "double" before conversion.
Notes:
svn path=/head/; revision=124710
|
|
|
|
|
|
|
| |
multibyte characters in the format string correctly.
Notes:
svn path=/head/; revision=108775
|
|
|
|
|
|
|
|
|
|
| |
values (EOF in our case) on error, and some of the possible errno values
in an Errors section.
PR: 39257
Notes:
svn path=/head/; revision=108121
|
|
|
|
| |
Notes:
svn path=/head/; revision=108037
|
|
|
|
|
|
|
|
|
|
| |
are marked up in stdio(3), and because they are defined expressions
of type "FILE *".
Approved by: re
Notes:
svn path=/head/; revision=107619
|
|
|
|
| |
Notes:
svn path=/head/; revision=105498
|
|
|
|
| |
Notes:
svn path=/head/; revision=105448
|
|
|
|
|
|
|
| |
versions of printf() and scanf().
Notes:
svn path=/head/; revision=103891
|
|
|
|
|
|
|
|
|
| |
and wide characters. These were already documented in the manual page,
with an entry mentioning that they were not implemented yet. The XSI
%S and %C synoyms have not been added.
Notes:
svn path=/head/; revision=103633
|
|
|
|
| |
Notes:
svn path=/head/; revision=103012
|
|
|
|
|
|
|
|
|
| |
qualifier to function prototypes and definitions where
appropriate using the '__restrict' macro.
- Update the manual page.
Notes:
svn path=/head/; revision=101914
|
|
|
|
|
|
|
|
| |
definitions to comply with IEEE Std 1003.1-2001.
- Update the manual pages.
Notes:
svn path=/head/; revision=101913
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(I skipped those in contrib/, gnu/ and crypto/)
While I was at it, fixed a lot more found by ispell that I
could identify with certainty to be errors. All of these
were in comments or text, not in actual code.
Suggested by: bde
MFC after: 3 days
Notes:
svn path=/head/; revision=101677
|
|
|
|
| |
Notes:
svn path=/head/; revision=101578
|
|
|
|
|
|
|
| |
compliance in the BUGS section immediately below.
Notes:
svn path=/head/; revision=100136
|
|
|
|
|
|
|
| |
Sponsored by: DARPA, NAI Labs
Notes:
svn path=/head/; revision=98392
|
|
|
|
|
|
|
|
|
|
|
| |
condense the redundant bits.
o Provide an example for using snprintf over sprintf. This may be
supplemented with an asprintf() example soon.
Sponsored by: DARPA, NAI Labs
Notes:
svn path=/head/; revision=98241
|
|
|
|
|
|
|
|
|
|
|
| |
a format string. This will later on be changed to a reference to the
FreeBSD Security Architecture after it has been committed.
PR: docs/39320
Sposnored by: DARPA, NAI Labs
Notes:
svn path=/head/; revision=98194
|
|
|
|
|
|
|
| |
Stop abusing the .%J macro for where the .Pa macro should have been used.
Notes:
svn path=/head/; revision=89138
|
|
|
|
|
|
|
|
| |
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Notes:
svn path=/head/; revision=88971
|
|
|
|
| |
Notes:
svn path=/head/; revision=87735
|
|
|
|
| |
Notes:
svn path=/head/; revision=87478
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- New length modifiers: hh, j, t, z.
- New flag: '. Note that %'f is not yet implemented.
- Use "inf"/"nan" for efg formats, "INF"/"NAN" for EFG formats.
- Implemented %q in terms of %ll; if "quad_t" is not "long long"
%q will break.
Still to do:
- %C, %S, %lc, %ls (wide character support)
- %'f (thousands in integer portion of %f)
- %a/%A (exact hex representation of floating-point numbers)
Garrett Wollman wrote the first version of the vfprintf.c update;
Mike Barcroft wrote the first version of the printf.3 changes.
Notes:
svn path=/head/; revision=87113
|
|
|
|
| |
Notes:
svn path=/head/; revision=84306
|
|
|
|
| |
Notes:
svn path=/head/; revision=79199
|
|
|
|
|
|
|
|
|
|
|
| |
from the 'l' description with s/long/long long/g.
PR: 27017
Submitted by: Guy Harris <guy@alum.mit.edu>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=78180
|
|
|
|
|
|
|
|
|
|
| |
was from the iso standard. Keep the sentence that says it is always
NUL terminated to make sure that people understand that.
Requested by: bde
Notes:
svn path=/head/; revision=77794
|
|
|
|
|
|
|
|
|
| |
o Explain snprintf's return value better.
o Document snprintf, et al, were defined in C-99
o Warn against %n.
Notes:
svn path=/head/; revision=77744
|
|
|
|
|
|
|
|
|
|
| |
return the number of characters that would have been in the new string.
Obtained from: OpenBSD
MFC after: 3 days
Notes:
svn path=/head/; revision=77510
|