<[EMAIL PROTECTED]> wrote: > But I found that stdout was corrupted after calling tarMain in my code > .because printf is not printing any thing in console.
Before returning main() closes both stdout and stderr. Regards, Sergey
<[EMAIL PROTECTED]> wrote: > But I found that stdout was corrupted after calling tarMain in my code > .because printf is not printing any thing in console.
Before returning main() closes both stdout and stderr. Regards, Sergey