This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Wrong documentation for open()
- From: Friedrich Lobenstock <fl-newlib at lsl dot at>
- To: newlib at sourceware dot org
- Date: Thu, 09 Apr 2015 19:14:14 +0200
- Subject: Re: Wrong documentation for open()
- Authentication-results: sourceware.org; auth=none
- References: <552698AD dot 5030102 at lsl dot at> <55269D01 dot 5090807 at redhat dot com> <5526AA70 dot 7010003 at lsl dot at> <5526AE64 dot 6000903 at redhat dot com>
- Reply-to: newlib at sourceware dot org
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