[PATCH] fadvise(2) system call

Garrett Cooper yanegomi at gmail.com
Mon Oct 31 21:24:42 UTC 2011


On Mon, Oct 31, 2011 at 2:21 PM, Ed Schouten <ed at 80386.nl> wrote:
> * John Baldwin <jhb at freebsd.org>, 20111031 22:17:
>> They don't.  They use fadvise() which is part of Linux's API much as
>> madvise(2) is part of ours.  (See the other fork in this thread.)
>
> Huh? Wait. It seems fadvise() is only a name used by the Linux kernel.
> It's not exported by glibc as a symbol. At least not on my laptop
> (Ubuntu 11.10).

Many developers incorrectly dig into system headers on Linux, so
that's probably why they prefix the API.
-Garrett


More information about the freebsd-arch mailing list