Wrong documentation for open()

Friedrich Lobenstock fl-newlib@lsl.at
Thu Apr 16 15:19:00 GMT 2015


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



More information about the Newlib mailing list