Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 17 Aug 2003 23:10:10 +0100 From: Elfyn McBratney To: cygwin AT cygwin DOT com Subject: Re: flockcyg Message-ID: <20030817221010.GA23111@emcb.co.uk> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Bill McCormick 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/