Hi, I am new to cygwin (and win32 programming in general), so if the answer to my question is covered somewhere else, please point me in the right direction.
While porting one of my c++ libraries to cygwin, I stumbled over this: Calling fcntl (fd, F_GETLK, ...) returns ENOSYS (function not implemented). I searched the archive and couldn't find anything appropriate to explain why. In short, this happens when I try to handle PID file locking to preclude multiple instances of the same program simultaneously running on a host. If there is a more preferable way of handling this task in cygwin/win32, I wouldn't mind implementing it. One more thing, I don't need backward compatability if that is the case. My target platforms are WinXP and Win2000. Thanks in advance, -Vlad -- 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/