Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      va_end

      From cppreference.com
      <c‎ |variadic
       
       
       
      Defined in header<stdarg.h>
      void va_end( va_list ap);

      Theva_end macro performs cleanup for anap object initialized by a call tova_start orva_copy.va_end may modifyap so that it is no longer usable.

      If there is no corresponding call tova_start orva_copy, or ifva_end is not called before a function that callsva_start orva_copy returns, the behavior is undefined.

      Contents

      [edit]Parameters

      ap - an instance of theva_list type to clean up

      [edit]Expanded value

      (none)

      [edit]References

      • C11 standard (ISO/IEC 9899:2011):
      • 7.16.1.3 The va_end macro (p: 270-271)
      • C99 standard (ISO/IEC 9899:1999):
      • 7.15.1.3 The va_end macro (p: 250-251)
      • C89/C90 standard (ISO/IEC 9899:1990):
      • 4.8.1.3 The va_end macro

      [edit]See also

      accesses the next variadic function argument
      (function macro)[edit]
      (C99)
      makes a copy of the variadic function arguments
      (function macro)[edit]
      holds the information needed byva_start,va_arg,va_end, andva_copy
      (typedef)[edit]
      enables access to variadic function arguments
      (function macro)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=c/variadic/va_end&oldid=117389"

      [8]ページ先頭

      ©2009-2025 Movatter.jp