tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
sendfile on various systems?
On Linux, sendfile() looka like this:
ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count)
On MacOS X it looks like this:
int
sendfile(int fd, int s, off_t offset, off_t *len, struct sf_hdtr *hdtr,
int flags)
what about other systems?
What's best practice of handling (probably Linux-originated) code that uses
sendfile?
Should sendfile support best be disabled in systems other than Linux? (the code
already has useful #ifdefs included)
--
Georg Schwarz http://home.pages.de/~schwarz/
georg.schwarz%freenet.de@localhost +49 176 91313874
Home |
Main Index |
Thread Index |
Old Index