|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Max S. Ivanov 2:5020/400 17 Mar 2001 14:30:47 To : All Subject : Re: Interprocess communication --------------------------------------------------------------------------------
Valentin Davydov wrote:
> Есть некий процесс, который форкается, и детка немедленно делает execve().
> Как бы заставить родителя дождаться его окончания и узнать exit status?
>
The wait() function suspends execution of its calling process until
status information is available for a terminated child process, or a sig-
nal is received. On return from a successful wait() call, the status
area contains termination information about the process that exited as
defined below.
--- ifmail v.2.15dev5
* Origin: Metrocom JSC Internet News Site (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/4366e3a5eb54.html, оценка из 5, голосов 10
|