plan9fox/sys/src/libstdio
kvik bc1cc79225 libstdio: sync bits of vfprintf from APE
* Add the %ll length modifier,
* Convert nil to "<nil>" under %s (not in APE),
* Cast void* to uintptr under %p,
* Use "0x" hex prefix under %p,
* Fix manual page mentions of %P to %p,
* Fix empty result for fp conversions,
* Fix zero padding of left-aligned fp conversions,
* Remove deprecated #pragma ref uses.

Most of these were introduced in APE prior to 9front.

I've omitted the %z conversion specifier since Plan 9 code
rarely uses the usize type. This may need to be added later
for the benefit of native ports of alien code.
2021-02-19 23:04:09 +01:00
..
_IO_getc.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
_IO_putc.c stdio: fix sclose() buffer overrun when terminating string, realloc() error handling (thanks porlock) 2016-11-27 21:20:27 +01:00
clearerr.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
dtoa.c stdio: remove erronous assert in dtoa 2021-02-09 13:57:38 -08:00
fclose.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fdopen.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
feof.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ferror.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fflush.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fgetc.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fgetpos.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fgets.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fileno.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fopen.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fprintf.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fputc.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fputs.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fread.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
freopen.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fscanf.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fseek.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fseeko.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fsetpos.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ftell.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ftello.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fwrite.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
getc.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
gets.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
iolib.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mkfile Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
printf.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
putc.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
puts.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
rewind.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
scanf.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sclose.c stdio: fix sclose() buffer overrun when terminating string, realloc() error handling (thanks porlock) 2016-11-27 21:20:27 +01:00
setbuf.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
setvbuf.c /sys/src/lib*: clean up 2016-11-17 22:58:16 +01:00
snprintf.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sopenr.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sopenw.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sprintf.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sscanf.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
Stdio.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
tmpfile.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
tmpnam.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ungetc.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
vfprintf.c libstdio: sync bits of vfprintf from APE 2021-02-19 23:04:09 +01:00
vfscanf.c #pragma ref no longer exists 2020-05-15 16:56:59 -07:00
vprintf.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
vsnprintf.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
vsprintf.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00