4 ms·
Points well taken, marios. Will try and fix strcpy(). Should certainly mention kqueue(), too. Will fix. Thanks.
by shuss 7y ago
Points well taken, marios. Will try and fix strcpy(). Should certainly mention kqueue(), too. Will fix. Thanks.
- cyberpunk 7y agoOpenBSD doesn't have sendfile as far as I know so maybe s/Open// there too
- shuss 7y agoOpenBSD and FreeBSD do have sendfile(), but args are different compared to the interface presented by Linux. It should be trivial to write a wrapper, though: https://man.openbsd.org/FreeBSD-11.1/sendfile.2 https://man.openbsd.org/FreeBSD-11.1/sendfile.2 https://linux.die.net/man/2/sendfile https://linux.die.net/man/2/sendfile
- cyberpunk 7y agoThat 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