Re: sendfile

Oskar Pearson (oskar@is.co.za)
Tue, 5 Jan 1999 12:57:59 +0200


Hi

I had a look at this a couple of days ago.

> where can I get docs on sendfile (what it is, how it's used,
> where it is....)

It seems that it's not in libc yet, so it's not useable (note - I haven't
checked the latest latest libc... this was about 3 weeks ago or so)

> Couldn't find it seriously anywhere in full grep of kernel source
> tree.... just some references.... is it glibc-2.1 or something?

Have a look at mm/filemap.c -

asmlinkage ssize_t sys_sendfile(int out_fd, int in_fd, off_t *offset,
size_t count)
{

Oskar

---
"Haven't slept at all. I don't see why people insist on sleeping. You feel
so much better if you don't. And how can anyone want to lose a minute -
a single minute of being alive?"				-- Think Twice

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/