va_end

Prepare to exit the function normally.

  #include <stdarg.h>
  
  void va_end(va_list ap);    
Parameter

ap

A variable argument list

Remarks

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.