I need to close stdout and stderr for one of my C program. How is it possible without exiting the program in execution?
What have you tried? Doesn't fclose work?
fclose