manual page 'ack to Inbox ArchiveReport SpamDelete More Actions 1 of 584 Older › manual page 'man 2 fork' wrt file locks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Manual page 'man 2 fork' says:
                  'File locks ... are not inherited.'
This is true for POSIX locks (fcntl-style locks).

But flock-style locks (aka bsd-style locks) are not inherited across
fork, correct ?

Would not it be more helpful if fork manpage said:

         POSIX file locks(fcntl(2)) are not inherited.
         flock-style locks are inherited (see flock(2))

?

Yakov
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux