Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That manpage is an import from freebsd, not part of base -- As far as I can see on my system it's not there:

OpenBSD:

    $ man 2 sendfile
    man: No entry for sendfile in section 2 of the manual.

    $ grep -rni sendfile /usr/include | wc -l
       0
FreeBSD:

    # grep -rni sendfile /usr/include | wc -l
          30
edit: typo


On Openbsd you have sosplice, which can be used much like sendfile.


Oh neat, I had no idea that existed. Will have a play, thanks for the tip!


OK, noted. Thanks for sharing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: