Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~$ cat test.c
- #include <stdio.h>
- int main(int argc, const char** argv)
- {
- int n;
- n = printf("value\n");
- fprintf(stderr, "n: %d\n", n);
- fclose(stdout);
- n = printf("value\n");
- fprintf(stderr, "n: %d\n", n);
- }
- ~$ ./test
- value
- n: 6
- n: -1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement