Terminates referencing of the arguments of a function with variable arguments.
ap Variable for referencing variable arguments
The ap argument must be the same as the ap initialized by va_start. If the va_end macro is not called before the return from a function, the operation of that function is not guaranteed.