Добрый день,
> документация на 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 mailing list
[email protected] | http://moscow.pm.org