[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v6 5/9] Add an implentation of asprintf() for xen
>>> On 08.05.14 at 15:23, <paul.durrant@xxxxxxxxxx> wrote: > +int vasprintf(char **bufp, const char *fmt, va_list args) > +{ > + va_list args_copy; > + size_t size; > + char *buf, dummy[1]; > + > + va_copy(args_copy, args); > + size = vsnprintf(dummy, 0, fmt, args_copy); Is there a reason for the first argument not simply being NULL? Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |