⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 x.c

📁 从iccavr7中破解得到的lib库源代码
💻 C
字号:
typedef unsigned int size_t;



#pragma nonpaged_function atof exit




















char *ftoa(float f, int *status);

int abs(int);
double atof(const char *);
int atoi(const char *);
long atol(const char *);
int rand(void);
void srand(unsigned);
long strtol(const char *, char **, int);
unsigned long strtoul(const char *, char **, int);


char *ltoa(char *buf, long i, int base);
char *itoa(char *buf, int i, int base);
char *ultoa(char *buf, unsigned long i, int base);
char *utoa(char *buf, unsigned i, int base);










void abort(void);
void *calloc(size_t, size_t);
void exit(int);
void free(void *);
void *malloc(size_t);
void _NewHeap(void *start, void *end);
void *realloc(void *, size_t);
char *itoa(char* buf, int i, int base) { 
unsigned int j = i; char *s; char *t;
char tmp; 
do { int n = j % base; 
if (n <= 9) *s++ = '0'+n; else *s++ = 'a'-10+n; 
j /= base; } while (j); 
if (tmp) *s++ = '-'; *s-- = 0; 
 for (t = buf; t < s; ) { tmp = *t; *t++ = *s; *s-- = tmp; } 
return buf; }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -