linux errno使用

errno详解

http://blog.csdn.net/wang_517766334/article/details/7561495

 

#include <errno.h>

就可以直接打印当前errno的值,查询错误

posted @ 2016-10-12 10:03  chencesc  阅读(165)  评论(0)    收藏  举报