a very stupid question: What reason is there for an output with printf until dec2str to convert the numeric value to a string and not to use the format identifier "%d" or "u%"?
On 03/11/2015 03:46 PM, Hardy Flor wrote:> a very stupid question: What reason is there for an output with printf until dec2str to convert the numeric value to a string > and not to use the format identifier "%d" or "u%"?The length of types such as pid_t or time_t can, at least in theory, vary from operating system to system. Thus no length modifier in the format can be correct on all systems. br, Teemu Huovila