X-Sybari-Trust: b659c8b6 9ffcebbb a34baef4 00000138 From: Martin Stromberg Message-Id: <200301231050.LAA05851@lws256.lu.erisoft.se> Subject: Re: readv, writev [PATCH] To: djgpp-workers AT delorie DOT com Date: Thu, 23 Jan 2003 11:50:34 +0100 (MET) In-Reply-To: <3E2FC531.F37C6D24@phekda.freeserve.co.uk> from "Richard Dawe" at Jan 23, 2003 10:34:25 AM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Say you write the first part of the data, but then the write for the next part > fails. What do you return? The call has failed, but you have written some No. It succeeded in writing the first part. You return the value of as many bytes you've written. (Just as write would do if it partially wrote something.) Right, MartinS