#include #include #include #include "_stdio.h" static char c; static char _geti(void) { char v; if (c) { v = c; c = 0; } else v = getc
http://www.codebf.com/read/172774/5382085
#include void _NewHeap(void *start, void *end) { CELL_HDR *new = start; new->next = __FreeList; __FreeList = new; new->size = NEW_SIZE(start, end); new->EndAddr = end; #
http://www.codebf.com/read/172774/5382090
#include void *memset(void *p, int c, size_t n) { unsigned char *cp = p; while (n--) *cp++ = c; return p; }
http://www.codebf.com/read/172774/5382093
#include int memcmp(void *s1, void *s2, size_t n) { unsigned char *cs1 = s1, *cs2 = s2; while (n-- && *cs1 == *cs2) { cs1++; cs2++; } if ((n+1) == 0 || *cs1 == *cs2
http://www.codebf.com/read/172774/5382094
#include void *memmove(void *s1, void *s2, size_t n) { unsigned char *cs1 = s1, *cs2 = s2; if (cs1 == cs2) return s1; if (cs2 < cs1) { cs1 += n; cs2 += n; while
http://www.codebf.com/read/172774/5382104
#include void *memcpy(void *s1, void *s2, size_t n) { unsigned char *cs1 = s1, *cs2 = s2; while (n--) *cs1++ = *cs2++; return s1; }
http://www.codebf.com/read/172774/5382107
#include void *memchr(void *p, int c, size_t n) { unsigned char *cp = p; while (n--) if (*cp++ == c) return &cp[-1]; return 0; }
http://www.codebf.com/read/172774/5382110
#include void abort(void) { exit(1); }
http://www.codebf.com/read/172774/5382114
#include #include #include static unsigned int _next = 1; void srand(unsigned int seed) { _next = seed; } int rand(void) { _next = (((_next * 0x4
http://www.codebf.com/read/172774/5382115
/* $Id: utils.h,v 1.1.2.3 2004/11/11 21:57:01 yixiong Exp $ */ #ifndef _SA_CKPT_UTILS_H #define _SA_CKPT_UTILS_H #include int SaCkptVersionCompare(SaVersionT, SaVersionT); void SaCkptPac
http://www.codebf.com/read/172609/5383111
虫虫下载站 半导体技术网 电子研发网 源码地带 电源技术网 单片机技术网 医疗电子技术 嵌入式系统与单片机