the close() function keeps returning -9/9 according to the kernel...does that mean -1 or does that mean something else???
the close() function keeps returning -9/9 according to the kernel...does that mean -1 or does that mean something else???
a computer has lead to this problem
let the computer solve it
if(-9 == -1) printf("-1 means -9");
.sect signature
Try
Code:if (close(fp) != 0) { perror ("close"); }
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]