freebsd-skq/lib/libc/stdio
Pedro F. Giffuni 9f36610f9e libc: provide some bounds-checking through reallocarray(3).
reallocarray(3) is a non portable extension that originated in OpenBSD.
Given that it is already in FreeBSD's libc it is useful for the cases
where reallocation involves a multiplication.

MFC after:		2 weeks
Differential Revision:	https://reviews.freebsd.org/D9955
2017-03-12 16:03:34 +00:00
..
_flock_stub.c Remove names from some prototypes 2015-09-20 20:26:46 +00:00
asprintf.c
clrerr.c
dprintf.c Remove usage of _WITH_DPRINTF 2016-07-30 01:16:06 +00:00
fclose.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fclose.c Add fdclose(3) function. 2015-07-04 16:42:14 +00:00
fcloseall.c
fdopen.c Add _flags2 per jhb@ suggestion since no room left in _flags. 2015-10-28 14:40:02 +00:00
feof.c
ferror.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ferror.c
fflush.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fflush.c
fgetc.c
fgetln.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fgetln.c Original fgetln() from 44lite return sucess for line tail errors, 2016-08-25 21:14:26 +00:00
fgetpos.c
fgets.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fgets.c Fix error handling. 2016-09-05 06:46:04 +00:00
fgetwc.c If error happens, don't overwrite original errno comes from __mbrtowc() 2016-09-01 18:12:53 +00:00
fgetwln.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fgetwln.c fgetwc(3) may set both __SEOF and __SERR at once (in case of incomplete 2016-09-01 20:45:04 +00:00
fgetws.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fgetws.c Fix n == 1 case. Here should be no physical read (fill buffer) attempt 2016-09-05 06:10:51 +00:00
fileno.c
findfp.c Use __alignof__ instead of assuming int64_t to get the right 2015-12-30 03:36:22 +00:00
flags.c
floatio.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
flockfile.3
fmemopen.c According to POSIX, a write operation shall start at the current size of 2015-10-25 12:09:28 +00:00
fopen.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fopen.c Add _flags2 per jhb@ suggestion since no room left in _flags. 2015-10-28 14:40:02 +00:00
fopencookie.3 libc: Add fopencookie(3) wrapper around funopen(3) 2016-05-11 14:38:27 +00:00
fopencookie.c libc: Add fopencookie(3) wrapper around funopen(3) 2016-05-11 14:38:27 +00:00
fprintf.c
fpurge.c
fputc.c
fputs.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fputs.c fputs: Return the number of bytes written. 2016-02-15 21:18:52 +00:00
fputwc.c Remove "Fast path", it bypass __wcrtomb() and all its error checking. 2016-08-25 17:30:00 +00:00
fputws.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fputws.c
fread.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fread.c
freopen.c freopen(3): prevent uninitialized errno. 2016-03-30 13:26:35 +00:00
fscanf.c
fseek.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fseek.c
fsetpos.c
ftell.c 1) Remove my overcomplicated error fallback and just return error 2015-11-12 22:24:39 +00:00
funopen.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
funopen.c
fvwrite.c
fvwrite.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fwalk.c
fwide.3
fwide.c
fwprintf.c
fwrite.c
fwscanf.c
getc.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
getc.c
getchar.c Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. 2015-09-20 20:28:49 +00:00
getdelim.c Don't check for __SERR which may stick from one of any previous stdio 2016-08-25 17:13:04 +00:00
getline.3 Remove _WITH_GETLINE and _WITH_DPRINTF guards 2016-07-30 01:00:16 +00:00
getline.c Remove last traces of _WITH_GETLINE 2016-07-30 01:13:54 +00:00
gets.c
getw.c
getwc.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
getwc.c
getwchar.c
glue.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
local.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
makebuf.c
Makefile.inc libc: Add fopencookie(3) wrapper around funopen(3) 2016-05-11 14:38:27 +00:00
mktemp.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
mktemp.c
open_memstream.3 Fix bunch of .Xrs. 2016-03-28 16:48:28 +00:00
open_memstream.c Use stdint.h instead of inttypes.h as the latter pollutes namespace more 2015-12-09 09:14:57 +00:00
open_wmemstream.c libc: provide some bounds-checking through reallocarray(3). 2017-03-12 16:03:34 +00:00
perror.c
printf_l.3
printf-pos.c libc: provide some bounds-checking through reallocarray(3). 2017-03-12 16:03:34 +00:00
printf.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
printf.c
printfcommon.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
printflocal.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
putc.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
putc.c
putchar.c
puts.c
putw.c
putwc.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
putwc.c
putwchar.c
refill.c
remove.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
remove.c
rewind.c
rget.c
scanf_l.3
scanf.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
scanf.c
setbuf.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
setbuf.c
setbuffer.c
setvbuf.c
snprintf.c
sprintf.c
sscanf.c
stdio.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
stdio.c Add _flags2 per jhb@ suggestion since no room left in _flags. 2015-10-28 14:40:02 +00:00
swprintf.c
swscanf.c
Symbol.map libc: Actually export fopencookie(3) 2016-05-12 21:30:22 +00:00
tempnam.c
tmpfile.c Switch libc from using _sig{procmask,action,suspend} symbols, which 2015-08-29 14:25:01 +00:00
tmpnam.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tmpnam.c
ungetc.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ungetc.c libc: provide some bounds-checking through reallocarray(3). 2017-03-12 16:03:34 +00:00
ungetwc.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ungetwc.c
vasprintf.c
vdprintf.c
vfprintf.c Revert r310138 2016-12-22 22:30:42 +00:00
vfscanf.c 1) Eliminate possibility to call __*collate_range_cmp() with inclomplete 2016-07-14 09:07:25 +00:00
vfwprintf.c Don't check for __SERR which may stick from one of any previous stdio 2016-08-25 17:13:04 +00:00
vfwscanf.c
vprintf.c
vscanf.c
vsnprintf.c
vsprintf.c
vsscanf.c
vswprintf.c
vswscanf.c
vwprintf.c
vwscanf.c
wbuf.c
wprintf.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
wprintf.c
wscanf.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
wscanf.c
wsetup.c
xprintf_errno.c
xprintf_float.c
xprintf_hexdump.c
xprintf_int.c
xprintf_quote.c
xprintf_str.c
xprintf_time.c
xprintf_vis.c
xprintf.c