aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdio
Commit message (Collapse)AuthorAgeFilesLines
* MFC: Fail attempts to use file descriptors larger than SHRT_MAX.John Baldwin2008-03-173-0/+42
| | | | Notes: svn path=/stable/4/; revision=177307
* Revert previous commit regarding FUNLOCKFILE(fp), it has ill effects.Hiten Pandya2004-06-091-1/+1
| | | | Notes: svn path=/stable/4/; revision=130279
* Move the call to FUNLOCKFILE(fp) after modification of the fp's fields.Hiten Pandya2004-06-081-1/+1
| | | | | | | | Reviewed by: Daniel Eischen <deischen at freebsd.org>, Robert Watson <rwatson at freebsd.org> Notes: svn path=/stable/4/; revision=130247
* MFC revision 1.22: When size is 1 should just null terminate the string.Kelly Yancey2003-08-271-3/+5
| | | | | | | | | | | | | This fix has the side effect of making vsnprintf() properly return the length of the string that would have been created if the buffer were infinite length when the passed size is 1. Previously, it would erroniously return 0 which causes auto-extending sbufs to misbehave in userland apps linked against libsbuf. Approved by: re (jhb) Notes: svn path=/stable/4/; revision=119505
* MFC rev 1.54: Document error returns for the printf() family of functions.Tim J. Robbins2003-03-021-2/+12
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=111724
* MFC: Fix the description for mkdtemp(), which creates directories, not files.Gregory Neil Shapiro2003-02-191-1/+1
| | | | | | | | | | Revision Changes Path 1.23 +1 -1 src/lib/libc/stdio/stdio.3 Approved by: re (bmah) Notes: svn path=/stable/4/; revision=111118
* MFC: Ignore TMPDIR if the application is setugid (r1.8 and r1.9).Kris Kennaway2003-02-151-1/+3
| | | | Notes: svn path=/stable/4/; revision=110902
* MFC: Print a '-' sign for negative zero.Jens Schweikhardt2002-10-121-7/+2
| | | | | | | | PR: bin/41823 Submitted by: GOTO Kentaro <gotoken@notwork.org> Notes: svn path=/stable/4/; revision=104981
* MFC rev. 1.21: fix vsnprintf(3) memory leak for size == 0.Maxim Konovalov2002-09-231-0/+6
| | | | | | | Approved by: re (jhb) Notes: svn path=/stable/4/; revision=103848
* MFC: (rev. 1.16) Grammar fix: "contents" is plural.Archie Cobbs2002-07-021-2/+2
| | | | Notes: svn path=/stable/4/; revision=99268
* MFC 1.26,1.27: Cleanup, mostly to conform to style(9).Robert Drehmel2002-06-181-19/+17
| | | | Notes: svn path=/stable/4/; revision=98394
* MFC 1.25: Avoid buffer underflow.Robert Drehmel2002-06-181-1/+1
| | | | Notes: svn path=/stable/4/; revision=98393
* MFC rev 1.12: Clarify that the value of getc() etc. is an unsignedTony Finch2002-05-191-0/+4
| | | | | | | | | | char converted to an int (as per the C standard) i.e. it can be passed straight to isalpha() etc. Approved by: re (brian, bmah) Notes: svn path=/stable/4/; revision=96887
* MFC: 1.27 get decimal point from localeAndrey A. Chernov2002-04-171-9/+10
| | | | Notes: svn path=/stable/4/; revision=94948
* MFC: 1.16-1.20 (decimal point from locale, remove 'register')Andrey A. Chernov2002-04-171-9/+17
| | | | Notes: svn path=/stable/4/; revision=94947
* sscanf.3 lists an obsolete ``this release''.Tom Rhodes2002-04-121-7/+0
| | | | | | | PR: 35610 Notes: svn path=/stable/4/; revision=94521
* MFC 1.14: pedantry.Dima Dorfman2002-03-191-1/+3
| | | | Notes: svn path=/stable/4/; revision=92633
* MFC: Reduce gratuitous diffs to -CURRENT.Ruslan Ermilov2001-12-1420-26/+26
| | | | Notes: svn path=/stable/4/; revision=87904
* MFC: Add cross-references.Murray Stokely2001-11-202-1/+3
| | | | Notes: svn path=/stable/4/; revision=86666
* MFC: Use ``.Rv -std'' wherever possible.Ruslan Ermilov2001-08-311-9/+6
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=82643
* MFC: markup and misc fixes.Ruslan Ermilov2001-08-176-146/+89
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=81834
* MFC: forward-compatability parts of 1.18. This is for the same reasonPeter Wemm2001-08-171-12/+3
| | | | | | | | | | that 1.7.2.1 was MFC'ed, except the original implementation was flawed in -current so we had to start again. Approved by: re (murray) Notes: svn path=/stable/4/; revision=81808
* MFC rev 1.17: soften a warningSheldon Hearn2001-08-061-1/+1
| | | | Notes: svn path=/stable/4/; revision=81195
* MFC:Mike Heffner2001-07-282-3/+20
| | | | | | | | | | 1.6 +14 -4 src/lib/libc/stdio/tmpfile.c 1.8 +8 -1 src/lib/libc/stdio/tmpnam.3 Ability to specify temporary directory with TMPDIR Notes: svn path=/stable/4/; revision=80512
* MFC: remove whitespace at EOL.Dima Dorfman2001-07-229-29/+29
| | | | Notes: svn path=/stable/4/; revision=80145
* MFC: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-222-2/+0
| | | | Notes: svn path=/stable/4/; revision=80140
* MFC: Add description for the 'll' modifier for long long. In essence a copyJens Schweikhardt2001-06-271-3/+23
| | | | | | | | | | from the 'l' description with s/long/long long/g. PR: 27017 Submitted by: Guy Harris <guy@alum.mit.edu> Notes: svn path=/stable/4/; revision=78890
* MFC: Correct the documentation for snprintf() and vsprintf() which actuallyGregory Neil Shapiro2001-06-061-1/+12
| | | | | | | | | | return the number of characters that would have been in the new string. Revision Changes Path 1.28 +13 -2 src/lib/libc/stdio/printf.3 Notes: svn path=/stable/4/; revision=77797
* MFC: MAN[1-9] -> MAN.Ruslan Ermilov2001-04-251-1/+1
| | | | Notes: svn path=/stable/4/; revision=75949
* MFC: mdoc(7) police: fix markup.Ruslan Ermilov2001-04-181-2/+6
| | | | Notes: svn path=/stable/4/; revision=75662
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2001-03-0618-30/+34
| | | | Notes: svn path=/stable/4/; revision=73888
* MFC: style sync with -currentDavid E. O'Brien2001-03-0511-89/+55
| | | | Notes: svn path=/stable/4/; revision=73707
* MFC: style sync to currentDavid E. O'Brien2001-03-051-0/+3
| | | | Notes: svn path=/stable/4/; revision=73683
* FMC: style sync to -currentDavid E. O'Brien2001-03-051-2/+2
| | | | Notes: svn path=/stable/4/; revision=73682
* mFC: remove register and use proper include styleDavid E. O'Brien2001-03-051-3/+3
| | | | Notes: svn path=/stable/4/; revision=73681
* MFC: remove register and style sync to -currentDavid E. O'Brien2001-03-051-3/+3
| | | | Notes: svn path=/stable/4/; revision=73679
* MFC: style fixDavid E. O'Brien2001-03-051-0/+1
| | | | Notes: svn path=/stable/4/; revision=73676
* Commit the forward compat stuff. We add aliases for __sF[0123] asWarner Losh2001-03-051-0/+20
| | | | | | | | __stdin, __stdout and __stderr. Note, we don't generate references to them (yet). That will be done in 6.0, so don't panic just yet. Notes: svn path=/stable/4/; revision=73580
* MFC: Remove freelists managed by Balloc/Bfree. Change __dtoa internal API.Tor Egge2001-02-191-5/+19
| | | | | | | PR: 15070 Notes: svn path=/stable/4/; revision=72711
* MFC: Use a denser encoding to obtain a larger file namespace in mktemp()Kris Kennaway2001-01-202-33/+50
| | | | | | | and family. Notes: svn path=/stable/4/; revision=71296
* MFC: (rev. 1.23) fix bugs in the handling of > 8 positional arguments.Archie Cobbs2001-01-101-13/+17
| | | | Notes: svn path=/stable/4/; revision=70893
* MFC: clarify how asprintf returns its allocated pointer.Ben Smithurst2001-01-011-4/+3
| | | | Notes: svn path=/stable/4/; revision=70554
* MFC: Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-292-67/+67
| | | | Notes: svn path=/stable/4/; revision=70483
* MFC: use canonical form of .Dd macro.Ruslan Ermilov2000-12-121-1/+1
| | | | Notes: svn path=/stable/4/; revision=69898
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2000-12-083-4/+5
| | | | Notes: svn path=/stable/4/; revision=69764
* More information around append modeEivind Eklund2000-09-211-0/+4
| | | | Notes: svn path=/stable/4/; revision=66170
* MFC: Use strtok instead of strsep. Handle links explicitly in remove.Jordan K. Hubbard2000-09-202-7/+26
| | | | | | | Check additional failure case in getopt. Notes: svn path=/stable/4/; revision=66103
* MFC: various fixes:Jeroen Ruigrok van der Werven2000-05-161-8/+8
| | | | | | | | - some sentencebreaks - typo Notes: svn path=/stable/4/; revision=60637
* MFC: Use `Er' variable to define first column width in ERRORS section.Alexey Zelkin2000-05-068-8/+8
| | | | Notes: svn path=/stable/4/; revision=60084
* MFC: introduce .Lb macro to libc manpagesAlexey Zelkin2000-04-2220-0/+40
| | | | Notes: svn path=/stable/4/; revision=59521