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.
--
Quoting Christian Seiler (christ...@iwakd.de):
> Newer glibc versions (that we can't require) allow for an additional
> letter 'e' in the fopen mode that will cause the file to be opened with
> the O_CLOEXEC flag, so that it will be closed if the program exec()s
> away. This is important because if