《操作系统》的实验代码。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 line
357 B

12 年之前
  1. #ifndef __LIBS_STDARG_H__
  2. #define __LIBS_STDARG_H__
  3. /* compiler provides size of save area */
  4. typedef __builtin_va_list va_list;
  5. #define va_start(ap, last) (__builtin_va_start(ap, last))
  6. #define va_arg(ap, type) (__builtin_va_arg(ap, type))
  7. #define va_end(ap) /*nothing*/
  8. #endif /* !__LIBS_STDARG_H__ */