Checks the number of arguments a function requires. This check does not work on macros. This check provides a way to distinguish function calls that is easier than checking the function definition.
A function that exists but is declared as func (void) will return a value of 1. A function that does not exist will return a value of 0.
check_arg_count <function-name>;
check_arg_count <function-name> { <attribute-statements> }
Generated Name: Prefix: _arg_count_
Example: _arg_count_mkdir 2
check_arg_count mkdir {
header sys/stat.h;
}
Wiki: Home
Wiki: Syntax
Wiki: SyntaxAttrAlternate
Wiki: SyntaxAttrCompileFlag
Wiki: SyntaxAttrHeader
Wiki: SyntaxAttrLinkFlag
Wiki: SyntaxAttrName
Wiki: SyntaxCheck