platform_bionic/libc/stdio
Elliott Hughes 82be76b5a2 Add __freadahead.
At the time I added <stdio_ext.h>, I just added what was on the man
page (which matched glibc), not realizing that musl and glibc had
slightly different functionality in their headers.

The toybox maintainer came up with a legitimate use case for this, for
which there is no portable workaround, so I'm adding it here. I'm not
adding the other functions that are in musl but not glibc for lack of a
motivating use case.

Bug: http://lists.landley.net/htdig.cgi/toybox-landley.net/2022-April/020864.html
Test: treehugger
Change-Id: I073baa86ff0271064d4e2f20a584d38787ead6b0
2022-09-22 23:47:42 +00:00
..
fmemopen.cpp Avoid writing to a zero-capacity buffer. 2019-02-05 15:00:13 -08:00
glue.h Rename LIBC64_HIDDEN to LIBC32_LEGACY_PUBLIC. 2015-10-23 12:32:52 -07:00
local.h Cleanup for #inclusivefixit. 2020-07-23 13:43:23 -07:00
parsefloat.c Start de-duplicating the regular and wide printf implementations. 2017-11-01 18:13:36 -07:00
printf_common.h Add %b and %B support to the printf/wprintf family. 2022-08-01 22:18:40 +00:00
refill.c Revert fwalk/sfp locking to fix concurrent reads 2019-05-04 00:28:00 -07:00
stdio.cpp fread: cope with >2GiB totals. 2022-07-28 20:58:45 +00:00
stdio_ext.cpp Add __freadahead. 2022-09-22 23:47:42 +00:00
vfprintf.cpp Add %b and %B support to the printf/wprintf family. 2022-08-01 22:18:40 +00:00
vfscanf.cpp Add %b and %B support to the scanf/wscanf and strto*/wcsto* families. 2022-08-11 00:25:08 +00:00
vfwprintf.cpp Add %b and %B support to the printf/wprintf family. 2022-08-01 22:18:40 +00:00
vfwscanf.cpp Add %b and %B support to the scanf/wscanf and strto*/wcsto* families. 2022-08-11 00:25:08 +00:00