Seems quite useless to me. For, what if you want to prefix the file with a header first, or add a trailer? Or what if you want to escape certain parts, or zip the file before sending? Or if you want to send the file incrementally?<p>It is better (more powerful) to have simple primitives, and work up from them.<p>If you really want something like sendfile, you could also just find the right library.