Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!uupsi!fozzie!stanley From: stanley@phoenix.com (John Stanley) Newsgroups: comp.lang.c Subject: Re: When will fopen fail? Message-ID: <1FVk11w163w@phoenix.com> Date: 18 Apr 91 02:29:35 GMT References: <11079@uwm.edu> Organization: Mad Scientist Lines: 11 markh@csd4.csd.uwm.edu (Mark William Hopkins) writes: > Assuming all the subdirectories are there and writeable (on UNIX or > MS-DOS), when does > > FP = fopen("...", "w"); > > fail and return FP == NULL? On MS-DOS, under TC 2.0, all the time. Perror returns "no such file or directory".