Reputation: 758
As a C rookie I was just reading about locks and saw here that it is possible to enable mandatory locking in Linux to use with fcntl()
. Is it possible to use other locking functions like flock()
as mandatory locks?
Upvotes: 0
Views: 414
Reputation: 180280
No.
If the semantics of flock()
changed, all programs that rely on these locks being advisory would break.
Upvotes: 1