This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: flockcyg
Bill McCormick <wpmccormick@covad.net> wrote:
> Hello,
>
> I'm trying to compile a program that has:
>
> #ifdef HAVE_FLOCK
> (void) flock(fd,LOCK_EX);
> #else
> lseek(fd,0L,0);
> (void) lockf(fd,F_LOCK,0L);
> #endif
Cygwin doesn't have flock() or lockf() .
-- Elfyn
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/