[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] flock() command



>
> Actually, Dan, that's not really flock - that's a better file locking
> mechanism in my opinion... Flock would look something like:
>
> open(FILE,"file.html");
>   flock(FILE);
>   print FILE "this text to file";
> close(FILE);
>
> It's a unix locking dealie...
>

 Thanks! I just did a quick search on my .pl files for "flock" and pasted
that in.

--
Dan Kriwitsky