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

Re: flock() and sendmail



On Fri, 17 Nov 2006 11:14:21 +0000, Roger Leigh
<rleigh@whinlatter.ukfsn.org> wrote:

>It's almost always a bad idea to use flock() instead of fcntl().
>fnctl() locking is effectively deprecating flock()

I heard it was the other way around.  Please explain ...


>If you look at SUSv3/POSIX, you'll see that fcntl()/lockf() locking is
>the only standardised form of locking.  flock() isn't included in the
>standard.

I have no reason to limit my choices to "standards."




Reply to: