[Vollbild]  [Home]

WAITPID

rax7wait for process termination8 bit
rbxpidprocess identification32 bit (pid_t)
<-1wait for any child process whose process group ID is equal to the absolute value of pid.
-1wait for any child process; this is the same behaviour which wait exhibits.
0wait for any child process whose process group ID is equal to that of the calling process.
>0wait for the child whose process ID is equal to the value of pid.
rcx*statusPointer16 bit
rdxoptionsSystem options32 bit

On returnrax
Child PIDon success.
0if WNOHANG was used and no child was available.

Errorcodec++ nameDescription
4EINTRif WNOHANG was not set and an unblocked signal or a SIGCHLD was caught.
10ECHILDif the process specified in pid does not exist or is not a child of the calling process.
22EINVALif the options argument was invalid.

I know something !
 
 
Free Web Hosting