On Mon, Jan 30, 2012 at 01:03:48PM +0100, Tanguy LE CARROUR wrote: > I haven't implemented the "increase the buffer if needed instead of > creating a new one each time", would it be better to do it?! That's what realloc() does. Well, "resize the buffer if possible" would be more accurate. -- Richard Braun