hi all, Tried locking of files in linux. I used the function lockf(fd,F_LOCK,0L); I am not able to lock.Has someone tried it out.Is there a error in the program or some compatibility(of the lockf system call) problems with linux. vinu