Category "variadic-functions"

What calling convention does printf() in C use?

So I've been practicing to write simple subroutines in FASMW using the CDECL and STDCALL calling conventions and it got me wondering about what the printf funct

How can I make stream with fixed arguments along with varargs? [duplicate]

Let's say we have the following method. void some(int id, int... otherIds) { } How can I create a single IntStream with those two arguments?