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: Fri, 10 Apr 2015 11:56:23 +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> <5526A29B dot 9020603 at fl dot priv dot at> <A45B1767F1002449A37508C2CC6003D70C526F at DEFTHW99EJ1MSX dot ww902 dot siemens dot net>
- Reply-to: newlib at sourceware dot org
Hello Konrad!
Schwarz, Konrad wrote on 2015-04-10 10:09 MET:
> just to explain why this bug exists:
I already guessed that, because on Linux
man 2 open
and
man 3p open
shows the different interface.
Because I implemented open(), close(), read() and write() on an MSP430
ÂC platform I needed to get the interface right. I started from the
documented minimal implementation for the aforementioned functions and
failed because the library defines open() according to the POSIX
standard but implemented and documented it according to the legacy standard.
--
MfG / Regards
Friedrich Lobenstock