This license applies to all files in directory and its subdirectories, unless otherwise noted in individual files. Some files ar…
klibc 源代码
klibc是一款专为嵌入式系统设计的轻量级C库,以其小巧精悍著称,在资源受限环境中表现出色。它不仅支持基本的POSIX标准函数,还针对特定硬件平台进行了优化,非常适合用于开发高效、低功耗的物联网设备及实时操作系统。对于追求极致性能与空间效率的电子工程师而言,掌握klibc将极大提…
/* * klibc/extern.h */ #ifndef _KLIBC_EXTERN_H #define _KLIBC_EXTERN_H #ifdef __cplusplus #define __extern extern "C" #else #d…
/* * stddef.h */ #ifndef _STDDEF_H #define _STDDEF_H #ifndef __KLIBC__ # define __KLIBC__ 1 #endif #include #undef NULL #if…
/* * fcntl.h */ #ifndef _FCNTL_H #define _FCNTL_H #include #include #include /* None of these are actually supported, alth…
/* * setjmp.h */ #ifndef _SETJMP_H #define _SETJMP_H #include #include #include #include #include __extern int setjmp(j…
/* * unistd.h */ #ifndef _UNISTD_H #define _UNISTD_H #include #include #include #include __extern __noreturn _exit(int); …
# Makefile # # Copyright (C) 2003 Christophe Varoqui, # BUILD = glibc include ../Makefile.inc OBJS = checkers.o readsector0.o t…