In article <[EMAIL PROTECTED]>, "Horváth Ágoston János" <[EMAIL PROTECTED]> <linux@mlf.linux.rulez.org> writes: > >> lock.l_start = 0; >> lock.l_len = 0; > > Itt rontottad el. Ezzel igy nem lockol semmit. > A len legyen legalabb 1 byte.
Nem szivesen vitatkozom, mert nem akarok halatlannak tunni, de Manuel szerint: Specifying 0 for l_len has the special meaning: lock all bytes starting at the location specified by l_whence and l_start through to the end of file, no matter how large the file grows. kissg _________________________________________________ linux lista - linux@mlf.linux.rulez.org http://mlf2.linux.rulez.org/mailman/listinfo/linux