android_bionic/libc/stdio
Elliott Hughes d3915c7b53 Make fd overflow an abort.
On LP32, just abort if we're asked to handle an fd that's too big for
the `short` field in `struct FILE`. This is unreachable anyway because
the ulimit is 32Ki, and this will make issues far more noticeable if we
ever do increase that limit (which seems unlikely for LP32 devices).

Also rename __finit() to __FILE_init() to match __FILE_close().

Test: treehugger
Change-Id: I5db4d6c4529a1f558aff135b4dea071d73666be5
2021-02-09 17:13:09 -08:00
..
fmemopen.cpp Avoid writing to a zero-capacity buffer. 2019-02-05 15:00:13 -08:00
glue.h
local.h Cleanup for #inclusivefixit. 2020-07-23 13:43:23 -07:00
parsefloat.c
printf_common.h Move bionic_macros.h from private to platform. 2020-01-02 14:09:50 -08:00
refill.c Revert fwalk/sfp locking to fix concurrent reads 2019-05-04 00:28:00 -07:00
stdio.cpp Make fd overflow an abort. 2021-02-09 17:13:09 -08:00
stdio_ext.cpp
vfprintf.cpp
vfscanf.cpp Remove bionic's internal ctype-like inlines. 2020-02-05 11:39:35 -08:00
vfwprintf.cpp
vfwscanf.c