[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] addition: wait-process.h, wait-process.c

From: Paul Eggert
Subject: Re: [Bug-gnulib] addition: wait-process.h, wait-process.c
Date: 23 Apr 2003 13:53:28 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Bruno Haible <address@hidden> writes:

> The main points of this code are:
>   - to provide reasonable error messages,
>   - to handle the return code 127 correctly (a convention specified
>     in POSIX).

There is also a convention that the return code is 126 if exec failed
due to errno == ENOEXEC.

Also, some programs need to run code if waitpid fails with errno == EINTR.

Please look in diffutils-2.8.4 for some examples of both of these issues.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]