Messages in this thread | | | Date | Wed, 21 Nov 2007 14:23:56 +0200 | From | "Yakov Lerner" <> | Subject | fork manpage wrt file locks |
| |
Manpage 'man 2 fork' says: 'File locks ... are not inherited.' This is true for POSIX locks, but not for flock-type locks. This phrase comes directly from posix fork manpage, which is not aware of flock-style locks.
Maybe fork manpage should rather say:
... POSIX file locks are not inherited (fcntl(2)). 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |