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, 17 Apr 2015 17:22:38 +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> <552FD2FE dot 7090808 at foss dot arm dot com>
- Reply-to: newlib at sourceware dot org
Hello!
Richard Earnshaw wrote on 2015-04-16 17:19 MET:
> However, changing this in newlib now would be an ABI change on some
> platforms, since the presence of a variadic function marker may change
> the argument passing rules.
The library already defines open() as variadic function, I guess it
wants to be POSIX compliant or so! THIS IS NOT AN ABI CHANGE only a
documentation correction!
There was an error in the documentation which I followed and had to find
out by hard that some arguments where passed on the stack BUT my open()
function expected all parameters in registers, as per TI MSP430 calling
convention.
Have a nice weekend!
--
MfG / Regards
Friedrich Lobenstock