Returns the number of longwords (VAX only) or quadwords (Alpha only) in the argument list.
#include <varargs.h> (DEC C Extension) #include <stdargs.h> (DEC C Extension) void va_count (int count);
If the argument list contains items whose storage requirements are a longword (VAX only) or quadword (Alpha only) of memory or less, the number in the count argument is also the number of arguments. However, if the argument list contains items that are longer than a longword (VAX only) or a quadword (Alpha only), count must be interpreted to obtain the number of arguments. Because a double is 8 bytes, it occupies two argument-list positions on OpenVMS VAX systems, and one argument-list position on OpenVMS Alpha systems.
This function is specific to DEC C for OpenVMS Systems and is not portable.