This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
Re: flock() function
- To: Nirmal Vuppuluri <vuppun@hardy.ntd.comsat.com>
- Subject: Re: flock() function
- From: Mumit Khan <khan@xraylith.wisc.EDU>
- Date: Fri, 02 Apr 1999 11:36:59 -0600
- cc: cygwin@sourceware.cygnus.com
Nirmal Vuppuluri <vuppun@hardy.ntd.comsat.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@sourceware.cygnus.com