#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Using exit....\n");
printf("This is the content in buffer\n");
exit(0);
}
beyes@linux-beyes:~/C/base> ./exit.exe
Using exit....
This is the content in buffer
#include <stdio.h>
#include <unistd.h>
int main()
{
printf("Using exit....\n");
printf("This is the content in buffer");
_exit(0);
}
beyes@linux-beyes:~/C/base> ./exit.exe
Using exit....
beyes@linux-beyes:~/C/base> cat exit.c
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |