Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2011 14:24:40 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Ed Schouten <ed@80386.nl>
Cc:        arch@freebsd.org, Jilles Tjoelker <jilles@stack.nl>
Subject:   Re: [PATCH] fadvise(2) system call
Message-ID:  <CAGH67wTx_71D3L-Nj-c7JM=zTmfq7vZ-_vTBRLArkHfV73RjsA@mail.gmail.com>
In-Reply-To: <20111031212157.GQ2258@hoeg.nl>
References:  <201110281426.00013.jhb@freebsd.org> <201110311024.07580.jhb@freebsd.org> <20111031190359.GP2258@hoeg.nl> <201110311717.53476.jhb@freebsd.org> <20111031212157.GQ2258@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 31, 2011 at 2:21 PM, Ed Schouten <ed@80386.nl> wrote:
> * John Baldwin <jhb@freebsd.org>, 20111031 22:17:
>> They don't. =A0They use fadvise() which is part of Linux's API much as
>> madvise(2) is part of ours. =A0(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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wTx_71D3L-Nj-c7JM=zTmfq7vZ-_vTBRLArkHfV73RjsA>