Перловая документация намекает скорее всего на то что это не везде
одинаково. В линуксе так, а вот в винде хз как.

Ruslan from phone.
25.07.2012 19:03 пользователь "Alex Povolotsky" <[email protected]> написал:

> On 07/25/12 19:00, Sergey Aleynikov wrote:
>
>> Добрый день,
>>
>>  документация на 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.
>>
>> В чтении манов не следует останавливаться на полпути.
>>
>>
> Т.е. перловая документация просто имеет в виду, что разные КОПИИ
> дескрипторов указывают на один объект.
>
> Понятно
>
> Alex
> --
> Moscow.pm mailing list
> [email protected] | http://moscow.pm.org
>
-- 
Moscow.pm mailing list
[email protected] | http://moscow.pm.org

Ответить