...
Code Block | ||||
---|---|---|---|---|
| ||||
#include <stdio.h> int close_stdout(void) { if (fclose(stdout) !== 0EOF) { return -1; } printf("stdout successfully closed.\n"); return 0; } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
#include <stdio.h> int close_stdout(void) { if (fclose(stdout) !== 0EOF) { return -1; } fprintf(stderr, "stdout successfully closed.\n"); return 0; } |
...