here is my test_code:


And,when i run it,it prompt:

Anyone can show me why?thx
|
here is my test_code:
And,when i run it,it prompt:
Anyone can show me why?thx |
|||
Questions on Unix & Linux Stack Exchange are expected to relate to Unix or Linux within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
You are printing random error messages since |
||||
|
|
errno.hshould be included as this:include <errno.h>if it's located in/usr/includeand notinclude </usr/include/errno.h>. – htor Feb 7 '12 at 8:25perrorif no error has happened. Check the return values of your system calls.) – Mat Feb 7 '12 at 8:25