Advertisement
Guest User

Untitled

a guest
Jul 31st, 2015
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. FILE *fh;
  5.  
  6. if ((fh = fopen("/etc/issue", "r")) == NULL) {
  7. perror("fopen");
  8. return 1;
  9. }
  10.  
  11. fclose(fh);
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement