Hi,
I used the  DJGPP compile option and replaced the
Fsync call by ioctl(fd, FIOSYNC, 0).
I hope this works. Thank you.
Best Martin
--- John Stanton <[EMAIL PROTECTED]> schrieb:

> Fcntl is only used for locking.  Would your
> application be multi-user? 
> if so you could replace the file locking with some
> form of co-operative 
> lock or find out if a Windriver alternative file
> locking mechanism 
> exists and use it.  I would imagine a single user
> application can just 
> omit the locks by using the DJGPP compile option to
> insert a dummy fcntl.
> 
> Fsync just syncs the file by writing through the
> buffers.  Does Vxworks 
> have buffering on its file system?  Fsync may be
> unecessary and you can 
> compile Sqlite with the SQLITE_NO_SYNC option to
> omit it.
> 
> JS
> 
> Martin Pfeifle wrote:
> > Hi,
> > I am in deep trouble. I would like to use sqlite
> on
> > vxworks. There are no fysnc, fcntl calls available
> > which are used in os_unix.c. 
> > Can anybody help me? PLEASE!
> > 
> > 
> > 
> >     
> > 
> >     
> >             
> >
>
___________________________________________________________
> 
> > Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher
> kostenlos - Hier anmelden: http://mail.yahoo.de
> 
> 



        

        
                
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de

Reply via email to