Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1Aw3t6-0008Hc-Qv for qemu-devel@nongnu.org; Wed, 25 Feb 2004 13:36:04 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1Aw3sa-0008AF-OK for qemu-devel@nongnu.org; Wed, 25 Feb 2004 13:36:03 -0500 Received: from [64.4.11.109] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Aw3kf-0005ko-5K for qemu-devel@nongnu.org; Wed, 25 Feb 2004 13:27:21 -0500 From: "Tom Musgrove" Date: Wed, 25 Feb 2004 18:27:17 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: Subject: [Qemu-devel] Debugging Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Emailed too soon, reading further down, it also states "Return Value.   If the buffer is correctly assigned to the file a 0 value is returned.   On error, a non-zero value is returned. This can be because an invalid type or size has been specified or because an error allocating memory (if NULL buffer was specified)." So, we should also be checking for a return value. Tom M. _________________________________________________________________ Find and compare great deals on Broadband access at the MSN High-Speed Marketplace. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/