Skip to contentSkip to conversation

Debugging

Qemu-devel Tom Musgrove 1 participant 1 message Feb 25, 2004

lore
Share & tools
lore
#0 lore raw

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/