summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Be correct in our man pages when talking about NUL termination (that is,cloder2005-02-253-6/+6
| | | | | termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
* deregister + ansify, no change in object code. ok deraadt@ millert@otto2004-09-2861-385/+227
|
* typo fix, from the original diff in PR 3932brad2004-09-251-2/+2
|
* oopsderaadt2004-09-251-2/+2
|
* access one too far away; from claus; ok millertderaadt2004-09-241-3/+3
|
* explain why mmap; pointed out by claus, pr 3932deraadt2004-09-241-2/+4
|
* Add 'z' and 't' modifiers for printing size_t and ptrdiff_t.otto2004-09-182-5/+101
| | | | ok millert@ deraadt@
* Handle ll's correctly for positional args. Problem spotted by hin@,otto2004-09-161-2/+7
| | | | ok henning@ millert@ deraadt@
* signed vs unsignedderaadt2004-09-141-2/+2
|
* Don't need to check lbuf != NULL when free()ing it. In addition,millert2004-08-201-6/+3
| | | | | since the EOF w/o EOL can only happen for the last line, move the free() outside the loop so we only do it once. OK otto@
* Fix the short description for fileno()jfb2004-06-201-2/+2
| | | | ok otto@, millert@
* major bump to libc and libpthread to break the dependency of amarc2004-06-071-13/+2
| | | | | | particular implementation of libpthread for libc. libc no longer needs pthread.h to compile. OK millert@, brad@, tedu@
* build the error message in strerror_r.c directly, avoiding one copy there.espie2004-05-031-9/+3
| | | | | | | | handle a few subtle details caught by the regression tests: correct termination, non copying if buffer length == 0, errno setting. let all former users of __strerror go through strerror_r. Work by Todd Miller and I. Okay millert@.
* Apply change from vsnprintf.c rev. 1.5. Use a single charactermillert2004-04-101-5/+10
| | | | | buffer for the size==0 case. Stdio internals do not deal correctly with zero size buffer and NULL pointer. From torek@bsdi.com; Ok henning@
* __sglue should be extern; from art@millert2004-01-111-2/+4
|
* typo;jmc2003-10-171-2/+2
|
* Avoid a possible signed->unsigned assignment, fixes PR1709 (Claus Assmann)avsm2003-10-081-6/+6
| | | | millert@ ok
* for %#s, # is the amount of input string, not the amount of output string.deraadt2003-09-261-3/+8
| | | | | | hence # must be 1 less than the size of the storage buffer. yes, we've known this for a long time, but it is not clearly documented and half the code out there does not use n-1! whoever designed this needs to be tortured.
* Sort headers in examplegrange2003-08-171-2/+2
| | | | ok millert@
* warn about unsafe APIs at link time. Conditional on libc/Makefile definingderaadt2003-07-242-2/+12
| | | | | APIWARN; disabled by default. In use by many developers for quite some time, now they have a common knob to enable/disable this
* .Ql Cm -> .Sq Cm where literal makes no sense;jmc2003-07-151-2/+2
|
* nonstandard->non-standardavsm2003-07-021-2/+2
| | | | jmc@ ok
* 6 X's -> 10 X's in all examples, per avsm's idea, millert agreespvalchev2003-07-021-4/+4
|
* Sync with share/misc/license.template and add missing DARPA creditmillert2003-06-172-18/+18
| | | | where applicable.
* oopsderaadt2003-06-112-7/+2
|
* ansification; checked by pvalderaadt2003-06-112-2/+7
|
* Use an ISC-tyle license for all my code; it is simpler and more permissive.millert2003-06-032-46/+24
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-0290-541/+181
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* - section reorderjmc2003-06-016-125/+126
| | | | | - kill unnecessary .Ns macros - add some man page section numbers to .Xr's
* Better English.pjanzen2003-05-171-3/+3
|
* Document behaviour when size = 1. ok millert@pjanzen2003-05-172-2/+16
|
* When positional arguments need more memory for storage (more than 8 args),deraadt2003-05-161-16/+30
| | | | | | | use mmap() instead of malloc(). this makes all the functionality in snprintf() and friends signal race safe. it also makes syslog_r() and the entire family of *warn*() and *err*() signal race safe, which was the real goal. ok pjazen millert
* typos;jmc2003-05-034-11/+11
|
* Make function declaration and man page match prototype. Closes PR 3236millert2003-04-252-11/+9
|
* char * in prototypes should be const; Kamo Hiroyasumillert2003-04-221-4/+4
|
* Warn people that the value of the pointer passed in to asprinf()millert2003-04-161-3/+8
| | | | | is implementation-specific when we get ENOMEM but mention that *we* set it to NULL.
* fifo -> FIFOjmc2003-04-022-4/+4
| | | | ok millert@
* .Xr typos;jmc2003-03-062-5/+5
|
* .Xr's;jmc2003-03-062-4/+4
| | | | | | typos in man page section ok deraadt@
* teach people about strlcpy, not strcpyderaadt2003-02-161-2/+2
|
* "The contents is" -> "The contents are"cloder2002-11-241-2/+2
|
* Add strerror_r and functions versions of getchar_unlocked andmarc2002-11-212-5/+31
| | | | putchar_unlocked. Crank the minor on related libs. OK fgs@, deraadt@
* Use va_copy() for varargs assignemnt. va_copy() is standard with C99drahn2002-10-241-3/+3
| | | | and gcc3.2 requires this on powerpc.
* Move __cleanup into mprotect'ed page to prevent unintentional modificationsdhartmei2002-09-144-11/+12
| | | | similar to the atexit handlers. Idea and help deraadt@, ok deraadt@
* add *asprintfderaadt2002-07-241-1/+3
|
* Document that *printf can return -1 on error. This includes snprintf(),millert2002-07-241-1/+2
| | | | though our implementation never does this.
* correct check for strchr() failure in EXAMPLE; from pinskia@physics.uc.edupvalchev2002-07-201-2/+2
|
* spelling; from Brian Poole <raj@cerias.purdue.edu>todd2002-06-141-2/+2
|
* Don't decrement the current character pointer past the beginning of themillert2002-05-271-3/+3
| | | | buffer passed in. Based on a patch from Mark Andrews. deraadt@ OK
* o) start new sentence on a new line;mpech2002-05-011-2/+3
| | | | | | | o) always close .Bl tags; o) fix usage of .Xr; millert@ ok