ubuntu error.h 头文件 说明

errno.h in the path

/usr/include/asm/errno.h 
or in ubuntu
/usr/include/asm-generic/errno.h

when error occur in the unxi function, the global var errno will be set as positive number to mark the error type.

like the socket funciton.

 

#define EADDRINUSE      98      /* Address already in use */

  

posted on 2012-01-18 09:58  york_software123  阅读(341)  评论(0编辑  收藏  举报

导航