[lxc-devel] [PATCH 3/6] Add fopen_cloexec function to emulate 'e' mode

Christian Seiler christian at iwakd.de
Tue Sep 10 14:01:28 UTC 2013


Hi Serge,

> Though the special case for calling open() without a mode arg seems
> unnecessary since when called without O_CREAT, mode is supposed to be
> ignored.

Oh, I never looked too closely at open and I simply went with the
function signatures in the manpage. Feel free to simplify that.

-- Christian




More information about the lxc-devel mailing list