(Fwd) Re: DOSFS bug fixes, IDE drivers and sample released
    Chris Johns 
    cjohns at cybertec.com.au
       
    Fri May 23 01:50:48 UTC 2003
    
    
  
Angelo Fraietta wrote:
> Ralf Corsepius wrote:
> 
>> Have you tried using sync(2)?
>>
>> I.e. something similar to this:
>>
>> fwrite( ...);
>> fclose(..);
>>  
>>
>> sync();
>>
> I get a link error -- undefined reference to sync
> 
I do not see a 'sync' but I see:
   int fsync(int fd);
   int fdatasync(int fd);
are present. Maybe you could try these.
Should these calls also flush the user-space buffered (libc) data ?
-- 
  Chris Johns, cjohns at cybertec . com . au
    
    
More information about the users
mailing list