This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug stdio/18982] va_list and vprintf


https://sourceware.org/bugzilla/show_bug.cgi?id=18982

--- Comment #2 from M Manfredini <mx2927 at gmail dot com> ---
(In reply to joseph@codesourcery.com from comment #1)
> As specified in the x86_64 ABI, va_list is an array type on x86_64.  
> Thus, this is a documentation issue (failing to point out that when 
> va_list is an array type, it is passed by reference).

If it is going to be handled as a documentation issue, I think that it should
specify that vprintf and friends make va_list unusable after the call,
irrespective of the platform.
I.e. portability as the behavior that can reliably be expected on different
platforms.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]