Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 22:50:36 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Peter Lawthers <plawthers@chiaro.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   sendfile with headers (struct sf_hdtr)
Message-ID:  <200102270350.WAA71013@khavrinen.lcs.mit.edu>
In-Reply-To: <3A9AE15D.103DFBB7@chiaro.com>
References:  <3A9AE15D.103DFBB7@chiaro.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 26 Feb 2001 17:06:05 -0600, Peter Lawthers <plawthers@chiaro.com> said:

> When using sendfile(2) with the optional headers, it appears
> that sendfile inadvertently returns the number of bytes written
> via writev

If any data was sent, sendfile() should tell you so.

-GAWollman


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102270350.WAA71013>