[Moscow.pm] fork и fork: кому верить?

Sergey Aleynikov sergey.aleynikov на gmail.com
Ср Июл 25 08:00:22 PDT 2012


Добрый день,

> документация на fork(2) утверждает, что

           o   The child process has its own copy of the parent's descriptors.
               These descriptors reference the same underlying objects, so
               that, for instance, file pointers in file objects are shared
               between the child and the parent, so that an lseek(2) on a
               descriptor in the child process can affect a subsequent read(2)
               or write(2) by the parent.

В чтении манов не следует останавливаться на полпути.

Best regards,
Sergey Aleynikov


Подробная информация о списке рассылки Moscow-pm