I have been told that sprintf(str, fmt,..) returns a pointer to "str" on unix whereas Linux returns the number of characters which were put on the string. Is there any way to get around this problem? Could it be solved compiling in a special way? or should the c-code be rewritten? Regards, /Tobbe