Hello,

flock locks or unlocks an entire file
whereas lockf locks or unlocks a portion of file after the given offset.

It is sugegsted to use fcntl as it offers more control.

You may see this for more details http://lists.jammed.com/ISN/2003/06/0074.html

Hope this helps 

--
Satish Vellanki 

Reply via email to