Bernhard Voelker wrote: > I'd document that the caller has to free the returned memory later; > so at least here in the module description, but maybe also in the > header and - as it serves as example code - in the test.
Good point. I did this in the header and in the example code. Also added a comment that the program's base name may be truncated (especially on HP-UX with its 14-characters limit it may be a real issue). Also changed the code for Cygwin and Haiku to avoid gcc warnings. Pushed. Bruno