freebsd-skq/lib/libc/stdio
David Schultz 6685ac34d9 Return -1 instead of 0 upon reaching EOF. This is somewhat ill-advised
because it means getdelim() returns -1 for both error and EOF, and
never returns 0. However, this is what the original GNU	implementation
does, and POSIX inherited the bug.

Reported by:	marcus@
2009-04-06 13:50:04 +00:00
..
_flock_stub.c
asprintf.c Rewrite asprintf() as a wrapper around vasprintf(), thus reducing the 2009-03-02 04:11:42 +00:00
clrerr.c
dprintf.c Add dprintf() and vdprintf() from POSIX.1-2008. Like getline(), 2009-03-04 03:38:51 +00:00
fclose.3
fclose.c
fcloseall.c
fdopen.c
feof.c
ferror.3 Better wording for clearing EOF indicator. 2009-01-28 14:38:41 +00:00
ferror.c
fflush.3
fflush.c
fgetc.c
fgetln.3 - Add getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(), 2009-02-28 06:00:58 +00:00
fgetln.c
fgetpos.c
fgets.3 - Add getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(), 2009-02-28 06:00:58 +00:00
fgets.c
fgetwc.c
fgetwln.3
fgetwln.c
fgetws.3
fgetws.c
fileno.c
findfp.c Use C99-style initializers. No functional change. 2009-03-01 19:25:40 +00:00
flags.c
floatio.h
flockfile.3
fopen.3
fopen.c
fprintf.c
fpurge.c
fputc.c
fputs.3
fputs.c
fputwc.c
fputws.3
fputws.c Introduce a local variable and use it instead of passed in parameter 2009-01-15 18:53:52 +00:00
fread.3
fread.c
freopen.c
fscanf.c
fseek.3
fseek.c
fsetpos.c
ftell.c
funopen.3
funopen.c
fvwrite.c
fvwrite.h
fwalk.c
fwide.3
fwide.c
fwprintf.c
fwrite.c
fwscanf.c
getc.3
getc.c
getchar.c
getdelim.c Return -1 instead of 0 upon reaching EOF. This is somewhat ill-advised 2009-04-06 13:50:04 +00:00
getline.3 Return -1 instead of 0 upon reaching EOF. This is somewhat ill-advised 2009-04-06 13:50:04 +00:00
getline.c - Add getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(), 2009-02-28 06:00:58 +00:00
gets.c
getw.c
getwc.3
getwc.c
getwchar.c
glue.h
local.h
makebuf.c
Makefile.inc Add dprintf() and vdprintf() from POSIX.1-2008. Like getline(), 2009-03-04 03:38:51 +00:00
mktemp.3
mktemp.c
perror.c
printf-pos.c The argument corresponding to %zn is supposed to be an ssize_t *, not 2009-03-02 04:07:58 +00:00
printf.3 Add dprintf() and vdprintf() from POSIX.1-2008. Like getline(), 2009-03-04 03:38:51 +00:00
printf.c
printfcommon.h Add support for multibyte thousands_sep encodings, e.g., U+066C. 2009-01-22 08:14:28 +00:00
printflocal.h The argument corresponding to %zn is supposed to be an ssize_t *, not 2009-03-02 04:07:58 +00:00
putc.3
putc.c
putchar.c
puts.c
putw.c
putwc.3
putwc.c
putwchar.c
refill.c
remove.3
remove.c
rewind.c
rget.c
scanf.3
scanf.c
setbuf.3
setbuf.c
setbuffer.c
setvbuf.c
snprintf.c
sprintf.c
sscanf.c
stdio.3 Add dprintf() and vdprintf() from POSIX.1-2008. Like getline(), 2009-03-04 03:38:51 +00:00
stdio.c
swprintf.c
swscanf.c
Symbol.map Add dprintf() and vdprintf() from POSIX.1-2008. Like getline(), 2009-03-04 03:38:51 +00:00
tempnam.c
tmpfile.c
tmpnam.3
tmpnam.c
ungetc.3
ungetc.c
ungetwc.3
ungetwc.c
vasprintf.c
vdprintf.c Add dprintf() and vdprintf() from POSIX.1-2008. Like getline(), 2009-03-04 03:38:51 +00:00
vfprintf.c Replace a dozen lines of code with a call to strnlen() / wcsnlen(). 2009-02-28 06:06:57 +00:00
vfscanf.c - Add support for multibyte decimal_point encodings, e.g., U+066B. 2009-01-19 06:19:51 +00:00
vfwprintf.c Replace a dozen lines of code with a call to strnlen() / wcsnlen(). 2009-02-28 06:06:57 +00:00
vfwscanf.c - Add support for multibyte decimal_point encodings, e.g., U+066B. 2009-01-19 06:19:51 +00:00
vprintf.c
vscanf.c
vsnprintf.c
vsprintf.c
vsscanf.c
vswprintf.c
vswscanf.c Introduce a local variable and use it instead of passed in parameter 2009-01-15 18:53:52 +00:00
vwprintf.c
vwscanf.c
wbuf.c
wprintf.3
wprintf.c
wscanf.3
wscanf.c
wsetup.c Set the error indicator on an attempt to write to a read-only stream. 2009-01-08 06:38:06 +00:00
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