Article View: comp.sys.atari.st
Article #26807Re: Fsfirst, Fsnext Bug??
From: John Buck
Date: Thu, 14 May 1987 14:46
Date: Thu, 14 May 1987 14:46
16 lines
1178 bytes
1178 bytes
In article <396@dasys1.UUCP>, stevef@dasys1.UUCP (Steve A. Feinstein) writes:
> Does anyone know of any bugs in the use of Fsfirst, Fsnext while using
> Megamax,
> Fsfirst("c:*.*, 0);
> it works fine, but when I add a path name;
> Fsfirst(c:\auto\*.*, 0);
> All I get is nothing returned. Does anyone have any ideas ?? Has
> anyone encountered this?? Am I doing something wrong??
>
Probably the latter (you are doing something wrong). Remember \ is special
in C. What you probably wanted to say is:
Fsfirst("c:\\auto\\*.*", 0);
You need 2 \ for each one you want.
John Buck
polyof!john
Technical Details
Message-ID:
<240@polyof.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-spam!mordor!styx!ames!oliveb!intelca!intsc!inthap!polyof!johnReferences:
<396@dasys1.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-spam!mordor!styx!ames!oliveb!intelca!intsc!inthap!polyof!john From: john@polyof.UUCP ( John Buck ) Newsgroups: comp.sys.atari.st Subject: Re: Fsfirst, Fsnext Bug?? Message-ID: <240@polyof.UUCP> Date: Thu, 14-May-87 10:46:08 EDT Article-I.D.: polyof.240 Posted: Thu May 14 10:46:08 1987 Date-Received: Sat, 16-May-87 11:22:48 EDT References: <396@dasys1.UUCP> Organization: Polytechnic Inst. of NY, Farmingdale NY Lines: 16 Summary: C programmer problem?