C execl is this a bug ?
-
inside a C function I have this code
printf("%s",final);
//execl(final,final,NULL);I do a fork and this is part of the childs code the final string is not printed when the execl line is not commented out,nor are any printf calls before it why is this happening ?
-
inside a C function I have this code
printf("%s",final);
//execl(final,final,NULL);I do a fork and this is part of the childs code the final string is not printed when the execl line is not commented out,nor are any printf calls before it why is this happening ?
-
inside a C function I have this code
printf("%s",final);
//execl(final,final,NULL);I do a fork and this is part of the childs code the final string is not printed when the execl line is not commented out,nor are any printf calls before it why is this happening ?
-
inside a C function I have this code
printf("%s",final);
//execl(final,final,NULL);I do a fork and this is part of the childs code the final string is not printed when the execl line is not commented out,nor are any printf calls before it why is this happening ?
If your on Eclipse it is a known bug (id=173732) The fflush(stdout); fix is the only way around it as horrible as it is.
In vino veritas