Hi,
Can someone help me to figure out whether this code is to write file to /tmp/TIMECLOCK directory or just to asign a variable with "/tmp/TIMECLOCK/name.log_copy.pid" as the string?
I am looking into an old C program and could not figure out where in the code that creates /tmp/TIMECLOCK/name.log_copy.pid file except here.
But I thought sprintf only assignes value to string....
==========
sprintf( szfilename, "/tmp/TIMECLOCK/%s.log_copy.%d", n
ame, pid );
Thanks!