feisky

云计算、虚拟化与Linux技术笔记
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年11月17日

摘要: <stdio.h>中定义了perror(),perror是在标准输出上输出msg字符串,然后再后面加上:错误语段(这个错误语段对应这时的errno) <string.h>中定义了strerror(),strerror是把一个错误numb作为参数,然后返回错误numb所对应的错误语段,一般用errno。#include <stdio.h>#include <... 阅读全文

posted @ 2009-11-17 15:54 feisky 阅读(4102) 评论(7) 推荐(0) 编辑

无觅相关文章插件,快速提升流量