lkml.org 
[lkml]   [2003]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Change sendfile header
On Thu, 30 Jan 2003, Christoph Hellwig wrote:

> You're rant is totally inappropinquate because:
>
> 1 - this is a glibc issue, applications should not include kernel
> headers

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 <davidsen@tmr.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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.023 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site