If you're gonna wrap sendfile, it might be nice to also wrap the splice, tee, 
and vmsplice syscalls on linux, since they're a lot more flexible.

Also note that sendfile on BSD has a completely different signature to sendfile 
on linux. The BSD one has the rather odd functionality of a built-in writev() 
before and after the sending of the file itself, with an extra struct argument 
to specify that, while on linux, if you want to write some other buffers, 
you're just expected to call writev yourself.

James
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to