Marco van de Voort to Anton Shepelev:
> > may return the status multiplied by 256? If my child
> > process terminates with Halt(1), the status is 256, if
> > with Halt(2), the status is 512, etc.
>
> Entirely normal. Status is an opague format in POSIX, and
> there are macros to pry them
In our previous episode, Anton Shepelev said:
> may return the status multiplied by 256? If my child pro-
> cess terminates with Halt(1), the status is 256, if with
> Halt(2), the status is 512, etc.
Entirely normal. Status is an opague format in POSIX, and there are macros
to pry them
Hello, all
Can anybody suggest why the function
function FpWaitPid
( pid: TPid;
var Status: cint;
Options: cint
): TPid;
may return the status multiplied by 256? If my child pro-
cess terminates with Halt(1), the status is 256, if with
Halt(2),