delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-Id: | <199904021736.LAA01200@modi.xraylith.wisc.edu> |
X-Authentication-Warning: | modi.xraylith.wisc.edu: localhost.xraylith.wisc.edu [127.0.0.1] didn't use HELO protocol |
To: | Nirmal Vuppuluri <vuppun AT hardy DOT ntd DOT comsat DOT com> |
cc: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re: flock() function |
In-reply-to: | Your message of "Fri, 02 Apr 1999 11:51:49 EST." |
<Pine DOT SOL DOT 3 DOT 95 DOT 990402114259 DOT 18629C-100000 AT hardy> | |
Date: | Fri, 02 Apr 1999 11:36:59 -0600 |
From: | Mumit Khan <khan AT xraylith DOT wisc DOT EDU> |
Nirmal Vuppuluri <vuppun AT hardy DOT ntd DOT comsat DOT com> writes: > Hi, > I am using Cygwin B20. I am trying to use the flock() function. I > included the file <sys/file.h>. But when I link, I still get a "undefined > reference to 'flock'". I am linking with the standard libc.a found under > cygnus\cygwin-B20\H-i586-cygwin32\i586-cygwin32\lib directory. Sent before I finished. Sorry. flock is a BSD'ism, and not part of POSIX standard nor is it implemented in Cygwin. Use POSIX fcntl interface instead. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |