summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
AgeCommit message (Expand)AuthorFilesLines
2021-04-01For the snprintf range check demo, add a (size_t) cast in the right placederaadt1-3/+3
2021-02-02article fixes; from eddie yousephjmc1-3/+3
2020-10-27The printf format string component %n is a nearly turning-complete gadget.deraadt2-4/+83
2020-09-13Spell out n as en for consistency with other parts of the page.tb1-3/+3
2020-09-13%lln is percent ell ell n (not dee).claudio1-4/+4
2020-08-17Fix append mode so it always writes to the end and expand regress.millert1-2/+7
2020-08-14Fix handling of "w+" mode, we were only truncating for "w".millert1-2/+2
2020-07-10adjust %n description to vaguely say "pointer", becuase the followingderaadt1-4/+6
2020-07-10As suggested by deraadt@, rewrite most of the printf(3) manual pageschwarze1-448/+581
2020-07-06Minor tweaks in the description of %g:schwarze1-4/+8
2019-12-03fwide() does not unlock if error was occurred.asou1-2/+4
2019-09-07more Version 1 AT&T UNIX history:schwarze1-3/+7
2019-08-30.Dt same as filenamederaadt1-3/+3
2019-08-30mop up stdarg rename; ok deraadtjmc4-12/+12
2019-06-29two more syscall == -1 checksderaadt1-3/+3
2019-06-28Specify that {v,}asprintf(3) returns precisely -1 on failure,schwarze1-7/+11
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt5-11/+11
2019-06-27Simplify the description of [v]snprintf(3), move the descriptionschwarze1-19/+18
2019-06-26an -> a;jmc1-2/+2
2019-06-26The POSIX-compatible way of checking for {v,}{f,s,sn,d}printf(3)deraadt1-4/+5
2019-05-16More consistently put remarks about the less useful LC_* categoties,schwarze1-3/+13
2019-05-02Fix a comparison in open_memstream not to confuse when a negativeyasuoka1-3/+3
2019-04-26Undo changes to tmpfile.c r1.5.martijn2-26/+5
2019-03-03in vdprintf(), no need to use the file locking mecanism when usingsemarie1-2/+2
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.millert3-6/+6
2019-01-16For all functions known to be infected by LC_NUMERIC, add shortschwarze4-29/+30
2019-01-11Similar CAVEATS regarding LC_NUMERIC as was just committedschwarze1-6/+19
2019-01-11Clarify that OpenBSD ignores the dangerous category LC_NUMERIC,schwarze1-16/+30
2018-12-16Restore the optimization for unbuffered I/O. The buffer needs tomillert1-1/+31
2018-12-16Back out rev 1.17 for now, it causes issues with python when buildingmillert1-31/+1
2018-12-14Revisit the optimization for unbuffered I/O. We can use the buffermillert1-1/+31
2018-12-14Back out the optimization in rev 1.13, it does not update flags onmillert1-16/+1
2018-01-02some grammar fixes; from dholland@netbsd, -r1.68jmc1-6/+6
2017-12-08Fix the return value of fwscanf(3) when encountering an early matchingkevlo1-2/+2
2017-12-01Consistently .Xr the corresponding wide char functions from char- andschwarze11-26/+37
2017-12-01add missing argument name; from <kshe59 at zoho dot eu>; OK jmc@;schwarze1-8/+32
2017-11-28GNU ld has prefixed the contents of .gnu.warning.SYMBOL sectionstb5-10/+10
2017-11-21Use a simple forward search to find '%' in the format string instead oftb1-35/+12
2017-11-16Add error checking to some calls to __find_arguments(). Matches similartb1-6/+16
2017-10-17add missing HISTORY; based on CVS logs and release announcementsschwarze1-2/+7
2017-08-15fmt0 is a wchar_t *, so use %ls to reportderaadt1-3/+3
2017-07-22Favor err() over perror() in example.anton1-3/+3
2017-07-041. mild deprecation noticeschwarze1-3/+11
2017-06-12Add dprintf() and vdprintf() RETURN VALUES. OK deraadt@millert1-2/+4
2017-04-13Use recallocarray in getdelim/getline to clear memory on buffer resizes,brynet1-2/+2
2017-03-17Use recallocarray() to avoid leaving detritus in memory when resizingmillert1-2/+3
2017-03-17Use recallocarray() to avoid leaving detritus in memory when resizingderaadt4-8/+12
2017-03-16Only reallocate the buffer to fit for medium-size allocations wheremillert2-18/+28
2017-03-16When reallocating the buffer for asprintf(), just round up to themillert1-6/+5
2017-03-14Use a macro for the initial length of the buffer instead of 127; OK deraadt@millert2-6/+10