1 #include <stdlib.h> 2 #include <unistd.h> 3 4 int 5 main(void) 6 { 7 if (pledge("stdio", NULL) == -1) 8 return 1; 9 return 0; 10 }