lkml.org 
[lkml]   [1998]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsendfile() semantics / aio

Hello,

Excuse me for raising this issue again, but could someone explain the
semantics / possibilities of the new sendfile() syscall ?
Ive seen Linus' example, but what about (async) completion notification ?
Is that an issue/ option ?
I mean if sendfile() could deliver a signal upon completion/failure then
that would be a cool thing.
How about an extra parameter for sendfile() : sendfile(int fd1,int fd2, int
size,struct overlapped *ptr).
struct overlapped /* (un)like NT */
{
size_t transferred; // bytes transferred
int errno_result; // errno at notification time.
/* other stuff ..*/
};
It would behave like an async ioctl() . Does it make sense ?

René




-
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.altern.org/andrebalsa/doc/lkml-faq.html

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