🆕 malloc 、printf

This commit is contained in:
fslongjin
2022-05-07 13:46:23 +08:00
parent 78a219b715
commit fd0147e04c
29 changed files with 1587 additions and 56 deletions

20
user/libs/libc/__libc__.h Normal file
View File

@ -0,0 +1,20 @@
#pragma once
#pragma once
#ifdef __cplusplus
# define __BEGIN_HEADER \
extern "C" \
{
# define __END_HEADER \
}
#else
# define __BEGIN_HEADER
# define __END_HEADER
#endif