This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]