sprintf is supposed to return the number of characters put in the array, except the null byte at the end. Changing to this breaks many programs which depend on sprintf returning the array passed to it. Another System V/4.x BSD incompatibility. John Haller