fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <unistd.h>
  4. void Check_file(char *filepath)
  5. {
  6. if(access( filepath, F_OK ) == -1 ) {
  7. printf("\nUnable to access : %s\n",filepath);
  8.  
  9. exit(1);
  10. }
  11. return;
  12. }
  13. int main () { return 0; }
Success #stdin #stdout 0s 1828KB
stdin
Standard input is empty
stdout
Standard output is empty