home | list info | list archive | date index | thread index

[OCLUG-Tech] Re: FD_CLOEXEC weirdness

On Thu, Mar 24, 2005 at 02:40:00PM -0500, Jody McIntyre wrote:
>     i = fcntl(fd1, F_GETFD);
>     printf("fd1 FD_CLOEXEC: %d\n");

printf("fd1 FD_CLOEXEC: %d\n", i);

Still doesn't explain why my non-trivial program doesn't work, but at
least a trivial fcntl matches the documentation.

Jody

references