Commit e7b3f481 authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Replace creat()/fd_set_close_on_exec() with a single open().

Per the creat() man page, creat() is equivalent to calling open
with flags of O_CREAT|O_WRONLY|O_TRUNC. Add O_CLOEXEC as well.
parent 74e1f283
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment