From owner-freebsd-net Mon Feb 26 19:50:39 2001 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id D697D37B67D for ; Mon, 26 Feb 2001 19:50:37 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id WAA71013; Mon, 26 Feb 2001 22:50:36 -0500 (EST) (envelope-from wollman) Date: Mon, 26 Feb 2001 22:50:36 -0500 (EST) From: Garrett Wollman Message-Id: <200102270350.WAA71013@khavrinen.lcs.mit.edu> To: Peter Lawthers Cc: freebsd-net@FreeBSD.ORG Subject: sendfile with headers (struct sf_hdtr) In-Reply-To: <3A9AE15D.103DFBB7@chiaro.com> References: <3A9AE15D.103DFBB7@chiaro.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < 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