NetBSD/lib/libc/stdio
christos e222705068 Improvements to fgetwln(3) from Andrey Chernov:
1) Set the stdio error indicator on __slbexpand() failure.

2) fgetwc(3) may succeed even when ferror(3) is already set
   (for example, consider a program using SIG_IGN on SIGTTIN,
   reading from the tty while in the background, getting EIO,
   then coming to the foreground and reading again).
   So do not force fgetwln(3) to fail in such a case either.
   (Yes, the program should probably clearerr(3) before
   reading again, but let's be nicer in case it forgets.)
2016-08-27 13:15:48 +00:00
..
Makefile.inc Add printf/scanf man pages from FreeBSD 2015-12-29 17:55:23 +00:00
clrerr.c - ansify, knf. 2012-03-15 18:22:30 +00:00
dprintf.c Add explicit locale versions for the printf family. Replace asprintf, 2013-04-19 15:22:24 +00:00
fclose.3
fclose.c - ansify, knf. 2012-03-15 18:22:30 +00:00
fdopen.c - ansify, knf. 2012-03-15 18:22:30 +00:00
feof.c - ansify, knf. 2012-03-15 18:22:30 +00:00
ferror.3
ferror.c - ansify, knf. 2012-03-15 18:22:30 +00:00
fflush.3
fflush.c - widen the internal read and write calls to match the syscalls 2012-03-27 15:05:42 +00:00
fgetc.c - ansify, knf. 2012-03-15 18:22:30 +00:00
fgetln.3 Fix incorrect example (what happens when len == 0?) 2014-06-19 14:27:50 +00:00
fgetln.c
fgetpos.c From tnozaki@: make fpos_t a complex object that keeps track of the parse 2012-01-22 18:36:14 +00:00
fgets.3
fgets.c - ansify, knf. 2012-03-15 18:22:30 +00:00
fgetstr.c
fgetwc.c - ansify, knf. 2012-03-15 18:22:30 +00:00
fgetwln.3
fgetwln.c Improvements to fgetwln(3) from Andrey Chernov: 2016-08-27 13:15:48 +00:00
fgetws.3
fgetws.c - ansify, knf. 2012-03-15 18:22:30 +00:00
fileext.h
fileno.c - ansify, knf. 2012-03-15 18:22:30 +00:00
findfp.c - widen the internal read and write calls to match the syscalls 2012-03-27 15:05:42 +00:00
flags.c Add 'x' to the mode bits to specify O_EXCL, like glibc. 2012-11-15 03:50:36 +00:00
floatio.h
flockfile.3 Sort SECTIONS. 2011-10-15 21:43:19 +00:00
flockfile.c - ansify, knf. 2012-03-15 18:22:30 +00:00
fmemopen.3 English grammar nit: there's only one function described in this man page 2015-09-06 03:10:50 +00:00
fmemopen.c The flush function makes the tests fail. So undo it for now until we decide 2012-03-29 14:27:33 +00:00
fopen.3 Allow changing the default buffering policy for a stdio stream during 2015-07-15 19:08:43 +00:00
fopen.c - ansify, knf. 2012-03-15 18:22:30 +00:00
fparseln.3 Kill unneeded paragraph macro. 2014-01-07 13:34:11 +00:00
fparseln.c
fprintf.c Add explicit locale versions for the printf family. Replace asprintf, 2013-04-19 15:22:24 +00:00
fpurge.c - ansify, knf. 2012-03-15 18:22:30 +00:00
fputc.c - ansify, knf. 2012-03-15 18:22:30 +00:00
fputs.3
fputs.c PR/45989: Martin Husemann: lint invocation does include -w only on i386 2012-03-13 21:13:30 +00:00
fputwc.c - ansify, knf. 2012-03-15 18:22:30 +00:00
fputws.3
fputws.c - ansify, knf. 2012-03-15 18:22:30 +00:00
fread.3 .Xr for fsetpos(3), not .Fn. 2011-09-11 04:55:48 +00:00
fread.c - ansify, knf. 2012-03-15 18:22:30 +00:00
freopen.c - widen the internal read and write calls to match the syscalls 2012-03-27 15:05:42 +00:00
fscanf.c Add scanf_l and wscanf_l families. 2013-04-19 23:32:16 +00:00
fseek.3 Remove trailing whitespace. 2012-01-22 19:13:42 +00:00
fseek.c Don't try to extend the offset range on 32 bit machines by treating negative 2014-11-16 20:32:52 +00:00
fseeko.c Add negative offset checks to fseeko 2014-10-19 11:17:43 +00:00
fsetpos.c From tnozaki@: make fpos_t a complex object that keeps track of the parse 2012-01-22 18:36:14 +00:00
ftell.c - widen the internal read and write calls to match the syscalls 2012-03-27 15:05:42 +00:00
ftello.c - widen the internal read and write calls to match the syscalls 2012-03-27 15:05:42 +00:00
funopen.3 improve usage 2016-04-06 03:38:31 +00:00
funopen.c only provide compatibility i/o functions to the ones provided by the caller. 2012-03-28 15:21:11 +00:00
fvwrite.c - widen the internal read and write calls to match the syscalls 2012-03-27 15:05:42 +00:00
fvwrite.h PR/45989: Martin Husemann: lint invocation does include -w only on i386 2012-03-13 21:13:30 +00:00
fwalk.c - ansify, knf. 2012-03-15 18:22:30 +00:00
fwide.3
fwide.c
fwprintf.c Add explicit locale versions for the printf family. Replace asprintf, 2013-04-19 15:22:24 +00:00
fwrite.c - ansify, knf. 2012-03-15 18:22:30 +00:00
fwscanf.c Add scanf_l and wscanf_l families. 2013-04-19 23:32:16 +00:00
getc.3
getc.c - ansify, knf. 2012-03-15 18:22:30 +00:00
getchar.c - ansify, knf. 2012-03-15 18:22:30 +00:00
getdelim.3 Remove trailing whitespace. 2014-09-16 08:52:02 +00:00
getdelim.c Set error indicator on invalid arguments. From Carsten Hey. 2011-07-22 23:12:30 +00:00
getline.c
gets.c avoid linker warning for compat symbols that are used internally in libc, 2013-10-04 20:49:16 +00:00
gettemp.c add a couple of casts. 2015-02-05 16:05:20 +00:00
gettemp.h add mkostemp, mkostemps, mkstemps from FreeBSD. 2014-06-18 17:47:58 +00:00
getw.c - ansify, knf. 2012-03-15 18:22:30 +00:00
getwc.3
getwc.c
getwchar.c - ansify, knf. 2012-03-15 18:22:30 +00:00
glue.h
local.h add mkostemp, mkostemps, mkstemps from FreeBSD. 2014-06-18 17:47:58 +00:00
makebuf.c Allow changing the default buffering policy for a stdio stream during 2015-07-15 19:08:43 +00:00
mkdtemp.c add mkostemp, mkostemps, mkstemps from FreeBSD. 2014-06-18 17:47:58 +00:00
mkostemp.c add mkostemp, mkostemps, mkstemps from FreeBSD. 2014-06-18 17:47:58 +00:00
mkostemps.c add mkostemp, mkostemps, mkstemps from FreeBSD. 2014-06-18 17:47:58 +00:00
mkstemp.c add mkostemp, mkostemps, mkstemps from FreeBSD. 2014-06-18 17:47:58 +00:00
mkstemps.c add mkostemp, mkostemps, mkstemps from FreeBSD. 2014-06-18 17:47:58 +00:00
mktemp.3 Add all functions to NAME section. End sentences with dots. 2014-06-19 09:30:33 +00:00
mktemp.c add mkostemp, mkostemps, mkstemps from FreeBSD. 2014-06-18 17:47:58 +00:00
open_memstream.3 PR/49317: Henning Petersen: Fix prototypes inman page. 2014-10-26 14:19:28 +00:00
open_memstream.c PR/49279: Justin Cormack: add open_memstream 2014-10-13 00:40:36 +00:00
open_wmemstream.c PR/49279: Justin Cormack: add open_memstream 2014-10-13 00:40:36 +00:00
perror.c
printf.3 Remove duplicated 'i' from list of numeric formats 2015-11-19 10:03:26 +00:00
printf.c Add explicit locale versions for the printf family. Replace asprintf, 2013-04-19 15:22:24 +00:00
printf_l.3 Add printf/scanf man pages from FreeBSD 2015-12-29 17:55:23 +00:00
putc.3
putc.c - ansify, knf. 2012-03-15 18:22:30 +00:00
putchar.c - ansify, knf. 2012-03-15 18:22:30 +00:00
puts.c - ansify, knf. 2012-03-15 18:22:30 +00:00
putw.c - ansify, knf. 2012-03-15 18:22:30 +00:00
putwc.3
putwc.c
putwchar.c
refill.c - widen the internal read and write calls to match the syscalls 2012-03-27 15:05:42 +00:00
remove.3
remove.c - ansify, knf. 2012-03-15 18:22:30 +00:00
rewind.c - ansify, knf. 2012-03-15 18:22:30 +00:00
rget.c - ansify, knf. 2012-03-15 18:22:30 +00:00
scanf.3
scanf.c Add scanf_l and wscanf_l families. 2013-04-19 23:32:16 +00:00
scanf_l.3 Add printf/scanf man pages from FreeBSD 2015-12-29 17:55:23 +00:00
setbuf.3 Allow changing the default buffering policy for a stdio stream during 2015-07-15 19:08:43 +00:00
setbuf.c - ansify, knf. 2012-03-15 18:22:30 +00:00
setbuffer.c - ansify, knf. 2012-03-15 18:22:30 +00:00
setvbuf.c - ansify, knf. 2012-03-15 18:22:30 +00:00
snprintf_ss.c
sscanf.c Add scanf_l and wscanf_l families. 2013-04-19 23:32:16 +00:00
stdio.3 add a bunch of functions found in <stdio.h> that weren't listed here. 2015-09-06 04:20:50 +00:00
stdio.c from kre: Don't fail if we are seeking on a pipe, clear the append bit 2013-05-19 17:07:04 +00:00
swprintf.c Add explicit locale versions for the printf family. Replace asprintf, 2013-04-19 15:22:24 +00:00
swscanf.c Add scanf_l and wscanf_l families. 2013-04-19 23:32:16 +00:00
tempnam.c - ansify, knf. 2012-03-15 18:22:30 +00:00
tmpfile.c - ansify, knf. 2012-03-15 18:22:30 +00:00
tmpnam.3
tmpnam.c - ansify, knf. 2012-03-15 18:22:30 +00:00
ungetc.3
ungetc.c - ansify, knf. 2012-03-15 18:22:30 +00:00
ungetwc.3
ungetwc.c
vasprintf.c don't cast malloc 2013-05-19 21:45:00 +00:00
vdprintf.c Provide explicit LC_C_LOCALE accessor and drop the various NULL checks. 2013-05-17 12:55:56 +00:00
vfprintf.c Add explicit locale versions for the printf family. Replace asprintf, 2013-04-19 15:22:24 +00:00
vfscanf.c Provide explicit LC_C_LOCALE accessor and drop the various NULL checks. 2013-05-17 12:55:56 +00:00
vfwprintf.c vfwprintf: fix error propagation 2014-01-20 14:11:03 +00:00
vfwscanf.c gcc cannot always work out initialization here 2014-06-12 22:21:20 +00:00
vprintf.c Add explicit locale versions for the printf family. Replace asprintf, 2013-04-19 15:22:24 +00:00
vscanf.c Add scanf_l and wscanf_l families. 2013-04-19 23:32:16 +00:00
vsnprintf.c Return EOVERFLOW like FreeBSD does if the buffer size exceeds INT_MAX 2014-09-29 14:58:33 +00:00
vsnprintf_ss.c Return EOVERFLOW like FreeBSD does if the buffer size exceeds INT_MAX 2014-09-29 14:58:33 +00:00
vsprintf.c Provide explicit LC_C_LOCALE accessor and drop the various NULL checks. 2013-05-17 12:55:56 +00:00
vsscanf.c Provide explicit LC_C_LOCALE accessor and drop the various NULL checks. 2013-05-17 12:55:56 +00:00
vswprintf.c don't cast malloc 2013-05-19 21:45:00 +00:00
vswscanf.c Provide explicit LC_C_LOCALE accessor and drop the various NULL checks. 2013-05-17 12:55:56 +00:00
vwprintf.c Add explicit locale versions for the printf family. Replace asprintf, 2013-04-19 15:22:24 +00:00
vwscanf.c Add scanf_l and wscanf_l families. 2013-04-19 23:32:16 +00:00
wbuf.c - ansify, knf. 2012-03-15 18:22:30 +00:00
wcio.h
wprintf.3
wprintf.c Add explicit locale versions for the printf family. Replace asprintf, 2013-04-19 15:22:24 +00:00
wscanf.3
wscanf.c Add scanf_l and wscanf_l families. 2013-04-19 23:32:16 +00:00
wsetup.c - ansify, knf. 2012-03-15 18:22:30 +00:00