> You're rant is totally inappropinquate because:
> 1 - this is a glibc issue, applications should not include kernel
Since it's a system call I felt it was at least worth mentioning.
> 2 - there is no sendfile declaration in glibc's <unistd.h>
This is most odd, the system on which I discovered the problem most
definitely says in the man page that it's <unistd.h> Quite honestly it
didn't occur to me to check other systems... And sendfile is defined on
that system in unistd, and works.
> 3 - there _is_ a <sys/sendfile.h> for sendfile(64) in glibc
See above, I just converted an app to use sendfile, that's how this
discussion came up.
> 4 - solaris _does_ have a linux-compatible sendfile now
The only sendfile I found was in libucb and is BSD compatible, there is no
man page. The two Solaris machines are less than a year old, so I'm not
sure what release you mean by "now" and can't check before Monday, as I
have no Solaris machines here.
-- bill davidsen <email@example.com> CTO, TMR Associates, Inc Doing interesting things with little computers since 1979.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/