Re: [PATCH v1 1/1] trace2: NULL is not allowed for va_list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> And I couldn't find any hints that va_list and pointers can be mixed,
> and no hints that they can't either

C99, Section 7.15, simply says that it "is an object type suitable for
holding information needed by the macros va_start, va_end, and
va_copy".

So clearly not guaranteed to be mixable with pointers.  And not
prohibited from being mixable either, for that matter.
And, nit-pickingly, NULL might be a valid value representing some
sequence of arguments if the two are mixable.

M.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux