[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] flock() command
- Subject: RE: [cobalt-users] flock() command
- From: "Dan" <dan@xxxxxxxxxxxxx>
- Date: Thu Dec 2 14:38:30 1999
>
> 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