On Tue, Feb 17, 2009 at 11:08:33AM +1100, Timothy Shimmin wrote: > Hi Christoph, > > Looks reasonable. > Though, in the case of returning -1, it might be more interesting > to know the value of errno ? (I presume errno would be set in that case).