"fopen" call...

Vasilkov Vasily chand0s at list.ru
Thu Dec 15 13:41:44 PST 2005


Hi all..
    this is the part of my source
************
    FILE *source;
    source = fopen("/home/user/test.c", "r");
    if (source) {
      printf("fopen error");
      exit(0);
    };
************
  file "/home/user/test.c" exists and its access mode is 777..., but
  when I run program, I get "fopen error" message...

  Can anybody explain me this subj?







More information about the freebsd-questions mailing list