os

Toy OS
git clone git://git.christosmarg.xyz
Log | Files | Refs | README | LICENSE

stdarg.h (408B)


      1 #ifndef _KERNEL_STDARG_H
      2 #define _KERNEL_STDARG_H
      3 
      4 #ifndef _VA_LIST_DECLARED
      5 #define _VA_LIST_DECLARED
      6 typedef __va_list va_list;
      7 #endif /* _VA_LIST_DECLARED */
      8 
      9 #define va_start(ap, last)	__builtin_va_start((ap), (last))
     10 #define va_arg(ap, type)	__builtin_va_arg((ap), type)
     11 #define va_copy(dest, src)	__builtin_va_copy((dest), (src))
     12 #define va_end(ap)		__builtin_va_end(ap)
     13 
     14 #endif /* _KERNEL_STDARG_H */