View Full Version : locking the end of the file using fcntl

March 10th, 2011, 07:06 AM
say I have these values in my flock struct when I call fcntl,
l_whence = SEEK_END;
l_start = 0;
l_len = 1024;

Will the lock start at the end and go backwards or forwards in the file?