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