stdarg.h 483 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) mlibc & plct lab
  3. *
  4. * SPDX-License-Identifier: MIT
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2023/06/16 bernard the first verison
  9. */
  10. #ifndef MLIBC_STDARG_H__
  11. #define MLIBC_STDARG_H__
  12. typedef __builtin_va_list va_list;
  13. #define va_start(v,l) __builtin_va_start(v,l)
  14. #define va_end(v) __builtin_va_end(v)
  15. #define va_arg(v,l) __builtin_va_arg(v,l)
  16. #define va_copy(d,s) __builtin_va_copy(d,s)
  17. #endif /*MLIBC_STDARG_H__*/