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 at fl dot priv dot at>
- To: newlib at sourceware dot org
- Date: Thu, 09 Apr 2015 18:02:35 +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>
- Reply-to: newlib at sourceware dot org
Hello Eric!
Eric Blake wrote on 2015-04-09 17:38 MET:
>> > The documentation, eg. the online version at
>> > <https://sourceware.org/newlib/libc.html#index-open>, is wrong in
>> > regards to the implementation of open().
>> >
>> > In the documentation the signature of open() is defined as:
>> > int open(const char *name, int flags, int mode)
> That's documented merely as a minimum implementation; it always fails,
> so it doesn't matter whether va_args is parsed compatibly or anything
> else. I see nothing wrong with that documentation being a bare minimum,
> [...]
BUT there's no documentation for open() other than in the minimum
implementation section!
--
MfG / Regards
Friedrich Lobenstock