On Oct 8 23:37, Damjan Lango wrote:
> Hello!
>
> I have a program that uses:
>
> lock.l_type = F_WRLCK;
> fcntl(log->handle, F_SETLK, &lock)
>
> the file is then locked also for reads, is that correct behaviour?
> I thought that only writing would be locked.
> on unix the file stays readable ev
Hello!
I have a program that uses:
lock.l_type = F_WRLCK;
fcntl(log->handle, F_SETLK, &lock)
the file is then locked also for reads, is that correct behaviour?
I thought that only writing would be locked.
on unix the file stays readable even if using the above code.
--
Unsubscribe info: ht
2 matches
Mail list logo