on march 1 2000 abhay wrote

  ya u can lock files on linux so that now two processes
  can access the file at a time use fcntl function for
  more info use man fcntl u can even achieve record locking
  with this function.

                                 welcome..
                                    Nilesh

                                   |\          /|
                                   |  \______/  |
                                   |            |
                                   |____________|
                                  <| ==      == |>
                                   |_____/\_____|          
                                   |            |
                       ___         |     ^^     |         ___ 
                     /     \        \__________/        /     \
                   /         \_____/            \_____/         \ 
                 /                 (            )                 \
               /                    \__________/                    \ 
             /                                                        \                
                   
           /                                                            \              
                     
          |                          TERMINATOR                          |             
                  
          |                                                              |             
                      
          |                      /\              /\                      |             
                    
          |          /\        /    \          /    \        /\          |
          |  /\    /    \    /        \      /        \    /    \    /\  |             
                  
          |/    \/        \/            \__/            \/        \/    \|
                                      
                                                                                       
   
                                                                                       
                
                                                                               

       

                                                                     

On Wed, 1 Mar 2000, G A Abhay wrote:

> 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.

Reply via email to