mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* manual page 'ack to Inbox ArchiveReport SpamDelete More Actions 1 of 584 Older › manual page 'man 2 fork' wrt file locks
@ 2007-11-19 14:10 Yakov Lerner
  2007-11-19 14:25 ` Yakov Lerner
  0 siblings, 1 reply; 2+ messages in thread
From: Yakov Lerner @ 2007-11-19 14:10 UTC (permalink / raw)
  To: Kernel Linux

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-19 14:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-19 14:10 manual page 'ack to Inbox ArchiveReport SpamDelete More Actions 1 of 584 Older › manual page 'man 2 fork' wrt file locks Yakov Lerner
2007-11-19 14:25 ` Yakov Lerner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®