Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2011 14:17:52 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Lev Serebryakov <lev@freebsd.org>
Cc:        freebsd-hackers@freebsd.org, mdf@freebsd.org
Subject:   Re: Does FreeBSD have replacement for posix_fadvice() or fcntl(F_RDADVISE)?
Message-ID:  <20110512111752.GP48734@deviant.kiev.zoral.com.ua>
In-Reply-To: <1649118429.20110512113812@serebryakov.spb.ru>
References:  <1649118429.20110512113812@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Thu, May 12, 2011 at 11:38:12AM +0400, Lev Serebryakov wrote:
> Hello, Freebsd-hackers.
> 
>    Does FreeBSD have some custom call, which can be used where Linux
>  programs uses posix_fadvice() and DARWIN ones fcntl(F_RDADVISE)?
> 
>    It is like madvise(2) but for file descriptors.
No, it does not (and I think the function is spelled posix_fadvise()).

mdf reserved the syscall slot for posix_fadvise in his recent work
on posix_fallocate(). Might be, he could comment more.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk3LweAACgkQC3+MBN1Mb4hQ+gCfZsO5NwkxDriKJwYM7J/4oPCX
TjYAniDcRhG4Y+ERWedR0ldPy87mVg1e
=4ufF
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110512111752.GP48734>