Does FreeBSD have replacement for posix_fadvice() or
fcntl(F_RDADVISE)?
Kostik Belousov
kostikbel at gmail.com
Thu May 12 11:17:57 UTC 2011
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20110512/216d6a92/attachment.pgp
More information about the freebsd-hackers
mailing list