Wrong documentation for open()

Friedrich Lobenstock fl-newlib@lsl.at
Fri Apr 10 08:09:00 GMT 2015


Hello Eric!

Eric Blake wrote on 2015-04-09 18:52 MET:
>>> 
>>> @example int _open_r(void *@var{reent}, -    const char
>>> *@var{file}, int @var{flags}, int @var{mode}); +    const char
>>> *@var{file}, int @var{flags}, ...);
> 
> but this does not.  _open_r is not standardized, so we might as
> well avoid ... and var-args, and just always pass four arguments
> when calling it from within newlib.

Ok, fine with me.

-- 
MfG / Regards
Friedrich Lobenstock



More information about the Newlib mailing list