flockcyg

Elfyn McBratney elfyn@cygwin.com
Sun Aug 17 22:36:00 GMT 2003


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/



More information about the Cygwin mailing list