feat: added printf
This commit is contained in:
14
kernel/libc/va_list.h
Normal file
14
kernel/libc/va_list.h
Normal file
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// Created by rick on 06-02-21.
|
||||
//
|
||||
|
||||
#ifndef NEW_KERNEL_VA_LIST_H
|
||||
#define NEW_KERNEL_VA_LIST_H
|
||||
|
||||
typedef __builtin_va_list va_list;
|
||||
#define va_start(ap,last) __builtin_va_start(ap, last)
|
||||
#define va_end(ap) __builtin_va_end(ap)
|
||||
#define va_arg(ap,type) __builtin_va_arg(ap,type)
|
||||
#define va_copy(dest, src) __builtin_va_copy(dest,src)
|
||||
|
||||
#endif //NEW_KERNEL_VA_LIST_H
|
||||
Reference in New Issue
Block a user