See man flock for details
> -----Original Message-----
> From: G A Abhay [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 01, 2000 6:26 PM
> To: [EMAIL PROTECTED]
> Subject: [LI] lock function in unix
>
> Is there any lock function (in C) to lock files on a linux machine
> Does the kernel provide such system calls at all?
> This should prevent other processes from accessing the same file.
>
> abhay
>
>
>
> --------------------------------------------------------------------------
> LI is all for free speech, but this list was created for a purpose --
> to help popularise Linux in India. If your messages are counterproductive
> to that purpose, your privileges to submit messages can and will be
> revoked.
--------------------------------------------------------------------------
LI is all for free speech, but this list was created for a purpose --
to help popularise Linux in India. If your messages are counterproductive
to that purpose, your privileges to submit messages can and will be revoked.