<div dir="ltr"><div><br></div>Considering F represents the function fputs_unlocked() in an LLVM pass, <div><br></div><div> => F->isVarArg() returns true</div><div> => F->getNumParams() returns 0</div><div> => *F returns declare i32 @fputs_unlocked(...)</div><div><br></div><div>The signature of fputs_unlocked from man page is:</div><div>int fputs_unlocked(const char *s, FILE *stream);</div><div><br></div><div>Can anybody explain why fputs_unlocked() is recognized as a vararg method while it accepts two fixed parameters?<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span><div><div dir="ltr"><p>Thanks & Regards,</p>
<div>Dipanjan</div></div></div></span></div></div>
</div></div>