[Toybox] freadahead()

2022-04-11 Thread Rob Landley
Elliott: could you add __freadahead() to bionic the way musl and z/os and so on have? I'm bothering the posix guys about this, thread starts here: https://www.mail-archive.com/austin-group-l@opengroup.org/msg09468.html The problem is calling getline() then calling fileno() and reading from

[Toybox] [PATCH] lib/portability.c: don't assume we have __NR_copy_file_range.

2022-04-11 Thread enh via Toybox
Android's host tools currently build with glibc from 2012, but even if we were more up to date (or had already switched to musl for host tools, which hopefully will be the case by this time next year), it was added to glibc recently enough to miss the "seven year window". --- lib/portability.c |

Re: [Toybox] freadahead()

2022-04-11 Thread enh via Toybox
On Mon, Apr 11, 2022 at 3:19 PM Rob Landley wrote: > Elliott: could you add __freadahead() to bionic the way musl and z/os and > so on > have? > > I'm bothering the posix guys about this, thread starts here: > > https://www.mail-archive.com/austin-group-l@opengroup.org/msg09468.html > > The