On Sun, 30 Jan 2005 23:56:07 -0800, Ben Greear <[EMAIL PROTECTED]> wrote:
> flags = fcntl(s, F_GETFL);
> flags |= (FD_CLOEXEC);
> if (fcntl(s, F_SETFL, flags) < 0) {These have to be F_GETFD and F_SETFD respectively. Note L -> D. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

