摘要: linux 中c语言使用errno.h头文件来记录错误信息以及定义返回错误代码的宏。 strerror(errno)打印错误信息 1、 warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaratio 阅读全文
posted @ 2015-07-12 09:29 little-snake 阅读(217) 评论(0) 推荐(0) 编辑
摘要: %d int %s string %p point值 %c char %lu long unsigned int 阅读全文
posted @ 2015-07-12 08:33 little-snake 阅读(179) 评论(0) 推荐(0) 编辑