Keil™, An ARM® Company

Technical Support

C251: MAXARGS DIRECTIVE


Information in this article applies to:

  • C251 Version 1.24
  • C251 Version 2.14

QUESTION

How do I specify the buffer size for parameters passed in variable-length argument lists?

ANSWER

With the MAXARGS directive, you specify the buffer size for parameters passed in variable-length argument lists. MAXARGS defines the maximum number of parameters. The MAXARGS directive must be applied before the C function.

MORE INFORMATION

  • Refer to MAXARGS in the Cx51 User's Guide.

Last Reviewed: Friday, July 15, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure