Prepare to exit the function normally.
#include <stdarg.h> void va_end(va_list ap);
ap
A variable argument list
The va_end macro cleans the stack to allow a proper function return. Invoke this macro at the end of a void function or before the function's return statement.