httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: stdin/stdout/stderr_FILENO's
Date Mon, 14 Jul 1997 02:38:53 GMT
We already use foo_FILENO in alloc.c so portability isn't a concern.  I
applied your patch, thanks.


On Wed, 9 Jul 1997, Stanley Gambarin wrote:

> 	Currently, some of the modules make an implicit assumption that
> file descriptors are matched as follows: stdin = 0, stdout = 1, stderr=2.
> Even though it is true for most (all Unix) systems, Stevens suggests
> using STD[IN|OUT|ERR}_FILENO defines instead to provide better
> portability.  The following diffs hange those.  Note, that the defines
> are declared in unistd.h (on Solaris, at least), which is included by
> buff.h, which itself is included by httpd.h, which is included by most
> modules, so they should always be defined (I think)...
> 						Stanley.

View raw message