summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
Commit message (Collapse)AuthorAgeFilesLines
* 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-14/+18
| | | | 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
* Remove more single-space hard sentence breaks.Sheldon Hearn2000-03-021-1/+2
| | | | Notes: svn path=/head/; revision=57695
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-024-7/+14
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57686
* Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),Jason Evans2000-01-277-11/+11
| | | | | | | | | | | | | | | | | | | | just use _foo() <-- foo(). In the case of a libpthread that doesn't do call conversion (such as linuxthreads and our upcoming libpthread), this is adequate. In the case of libc_r, we still need three names, which are now _thread_sys_foo() <-- _foo() <-- foo(). Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(), nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo(). Remove all internal libc usage of: creat(), pause(), sleep(), system(), tcdrain(), wait(), and waitpid(). Make thread cancellation fully POSIX-compliant. Suggested by: deischen Notes: svn path=/head/; revision=56698
* Improve the explanation on the (in)security of mktemp(3).Sheldon Hearn2000-01-251-3/+6
| | | | Notes: svn path=/head/; revision=56589
* We no longer care about the VAX and Tahoe compilers :-)Kris Kennaway2000-01-171-6/+1
| | | | Notes: svn path=/head/; revision=56131
* Add three-tier symbol naming in support of POSIX thread cancellationJason Evans2000-01-127-11/+17
| | | | | | | | | points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For system calls, the pattern is _read() <-- _libc_read() <-- read(). Notes: svn path=/head/; revision=55837
* Correct discrepancy between definition of argument to tempnam() andKris Kennaway2000-01-091-2/+2
| | | | | | | the name by which it is referenced in the text. Notes: svn path=/head/; revision=55649
* While comparing this with OpenBSD (ie: trying to figure out what mkstemps()Peter Wemm1999-12-111-2/+2
| | | | | | | | | | | is good for... :-)), I discovered that part of the change when mkstemps() was brought in was missed - it was missing the termination case to make sure it doesn't walk into the suffix. This isn't the same code OpenBSD has, I think this is a little better as we terminate the loop in a better spot. Notes: svn path=/head/; revision=54439