Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-04-04 | Sync from gnulib. | Jim Meyering | |
2004-03-04 | (set_cloexec_flag) [ ! (F_GETFD && F_SETFD)]: Return true, not false. | Jim Meyering | |
2004-03-04 | Include "cloexec.h" first, and <unistd.h> before <fcntl.h>. | Jim Meyering | |
(set_cloexec_flag): Use bool for booleans. All uses changed. If F_GETFD returns a negative number (not just -1), report a failure. Don't use F_SETFD if the flags are already right. Don't report a failure with F_SETFD unless it returns -1. | |||
2004-03-03 | New file. | Jim Meyering | |
The set_cloexec_flag implementation imported from GNU C Library Reference Manual. |