NetBSD/lib/libc/stdio
kristerw a505fc7826 Fix two bugs:
1. snprintf(foo, 0. "XXX") is guaranteed not to write in foo by the
   standard (ISO/IEC 9899 7.19.6.5) but our implementation handles this
   as if the buffer has a size of (size_t)-1.

2. snprintf(NULL, 0, "XXX") leaks memory since cantwrite() allocates
   memory if _bf._base == NULL, and this buffer is never freed
   (PR 16483).
2003-01-05 11:05:47 +00:00
..
Makefile.inc - Migrate fparseln(3) from libutil to libc, where it should have been in 2002-11-30 03:04:44 +00:00
_fseeko.c
_ftello.c
asprintf.c
clrerr.c
fclose.3
fclose.c
fdopen.c
feof.c
ferror.3
ferror.c
fflush.3
fflush.c
fgetc.c
fgetln.3
fgetln.c
fgetpos.c
fgets.3
fgets.c
fgetwc.c
fileext.h
fileno.c
findfp.c
flags.c
floatio.h
fopen.3 New sentence, new line. From Robert Elz. 2002-10-01 17:22:00 +00:00
fopen.c
fparseln.3 - Migrate fparseln(3) from libutil to libc, where it should have been in 2002-11-30 03:04:44 +00:00
fparseln.c - Migrate fparseln(3) from libutil to libc, where it should have been in 2002-11-30 03:04:44 +00:00
fprintf.c
fpurge.c
fputc.c
fputs.3
fputs.c
fputwc.c
fread.3
fread.c
freopen.c
fscanf.c
fseek.3
fseek.c
fseeko.c
fsetpos.c
ftell.c
ftello.c
funopen.3
funopen.c
fvwrite.c
fvwrite.h
fwalk.c
fwide.3
fwide.c
fwrite.c
getc.3
getc.c
getchar.c
gets.c
gettemp.c Allow mktemp to be built as a host tool. 2002-09-14 04:26:23 +00:00
getw.c
getwc.3
getwc.c
getwchar.c
glue.h
local.h
makebuf.c
mkdtemp.c Allow mktemp to be built as a host tool. 2002-09-14 04:26:23 +00:00
mkstemp.c Allow mktemp to be built as a host tool. 2002-09-14 04:26:23 +00:00
mktemp.3 New sentence, new line. From Robert Elz. 2002-10-01 17:22:00 +00:00
mktemp.c
perror.3
perror.c
printf.3 Fix typos (from PR 19650) 2003-01-03 21:41:28 +00:00
printf.c
putc.3 New sentence, new line. From Robert Elz. 2002-10-01 17:22:00 +00:00
putc.c
putchar.c
puts.c
putw.c
putwc.3 New sentence, new line. From Robert Elz. 2002-10-01 17:22:00 +00:00
putwc.c
putwchar.c
refill.c
remove.3
remove.c
rewind.c
rget.c
scanf.3 New sentence, new line. From Robert Elz. 2002-10-01 17:22:00 +00:00
scanf.c
setbuf.3
setbuf.c
setbuffer.c
setvbuf.c
snprintf.c Fix two bugs: 2003-01-05 11:05:47 +00:00
sprintf.c
sscanf.c
stdio.3 New sentence, new line. From Robert Elz. 2002-10-01 17:22:00 +00:00
stdio.c
tempnam.c use more Xs for filename templates. 2002-08-10 16:28:51 +00:00
tmpfile.c use more Xs for filename templates. 2002-08-10 16:28:51 +00:00
tmpnam.3 Drop superfluous Ns and fix a formatting glitch. 2002-08-20 16:10:01 +00:00
tmpnam.c use more Xs for filename templates. 2002-08-10 16:28:51 +00:00
ungetc.3
ungetc.c
ungetwc.3
ungetwc.c
vasprintf.c
vfprintf.c
vfscanf.c
vprintf.c
vscanf.c
vsnprintf.c Fix two bugs: 2003-01-05 11:05:47 +00:00
vsprintf.c
vsscanf.c
wbuf.c
wcio.h
wsetup.c