Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2005 00:41:20 +0300
From:      "Vasilkov Vasily" <chand0s@list.ru>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   "fopen" call...
Message-ID:  <op.s1ug66y1fi920b@lazy.lazy.org>

next in thread | raw e-mail | index | archive | help
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?








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.s1ug66y1fi920b>