[Dev-C++] CGI File Locking across server types
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Michael D. S. <for...@hi...> - 2003-08-04 07:30:33
|
I notice that Dev C++ has fcntl.h. My UNIX book says fcntl is the only file lock that works ( is implemented ) across all UNIX platforms. Working on my home computer it seems that Windows always locks a file that's in use, but then this is not a server. About those I know nothing. Dev C++ is a Windows version and it has fcntl so I'm "assuming" it's a Windows compatible implementation but, if so, does it still work if the executable is copied to a UNIX machine, or does it have to be compiled on the machine it's going to be ran on? Anyone have any experience with this? Any advice? ms |