文章列表
void exit(int status);
void _exit(int status);
int atexit(void (*func)(void));
void *malloc(size_t size);
void *calloc(size_t nobj, size_t size);
void *realloc(void *ptr, size_t newsize);
void free(*ptr);
int brk(void *addr);
void *sbrk(intptr_t increment);
void *alloca(size_t size);
char *getenv(con ...
#include <stdlib.h>
void *malloc(size_t size); 分配size个字节的空间
void *calloc(size_t nobj, size_t size); 分配nobj个size字节的连续空间
void *realloc(void *ptr, size_t newsize); 分配以ptr为起始地址的size个字节的连续空间(若ptr为null,则功能与malloc相 ...
http://www.tsnc.edu.cn/default/tsnc_wgrj/doc/abs-3.9.1_cn/html/
http://sed.sourceforge.net/sed1line_zh-CN.html
http://www.linuxsir.org/bbs/showthread.php?t=198391
http://linux.chinaunix.net/techdoc/develop/2007/02/10/950229.shtml
http://bbs.chinaunix.net/thread-1389781-1-1.html
http://bbs.tsinghua.edu.cn/pc/pccon.php?id=2207&nid=82422&tid=7624
http://baike.baidu.com/view/94238.htm?fr=ala0_1
http://vvn ...
makefile的语法和写法
http://qiuye.iteye.com/blog/451972
makefile详解
http://wallimn.iteye.com/blog/538004
进行代码移植的要点就是要注意32位系统与64位系统变量之间的不同,
1 指针与int等32位变量的转换在32位系统中是安全等效的,但在64位系统中内存位数为64bits,因而与int之间的转换会根据方向不同抛出
cast from pointer to integer of different size
以及 cast to pointer from integer of different size
64位系统下应该把指针转换为64位的变量,如unsigned long。
2 有符号位的变量在程序中的应用要根据实际情况进行改动。
参考:http://dev.yesky.com/ ...
学长推荐的参考资料:
http://gushuizerotoone.iteye.com/blog/565862