David Faure wrote: > Out of interest, doesn't this slow it down a lot ? > You probably have to parse the format string (as opposed > to let sprintf do the job - well in addition to it)... > > Perhaps better to simply add kDebugStrerror() ? I second that. Error codes from errno are used very seldomly, so we should have a special method to handle them. Anyway, errno values are no subjcet to debugging statements, anyway! They are handled by switch statements, usually. Am I wrong? Greetings, --Mirko. -- Denn der Mensch liebt und ehrt den Menschen, solange er ihn nicht zu beurteilen vermag, und die Sehnsucht ist ein Erzeugnis mangelhafter Erkenntnis. (Thomas Mann)