1. #define EPERM 1 /* Operation not permitted */
  2. #define ENOENT 2 /* No such file or directory */
  3. #define ESRCH 3 /* No such process */
  4. #define EINTR 4 /* Interrupted system call */
  5. #define EIO 5 /* I/O error */
  6. #define ENXIO 6 /* No such device or address */
  7. #define E2BIG 7 /* Argument list too long */
  8. #define ENOEXEC 8 /* Exec format error */
  9. #define EBADF 9 /* Bad file number */
  10. #define ECHILD 10 /* No child processes */
  11. #define EAGAIN 11 /* Try again */
  12. #define ENOMEM 12 /* Out of memory */
  13. #define EACCES 13 /* Permission denied */
  14. #define EFAULT 14 /* Bad address */
  15. #define ENOTBLK 15 /* Block device required */
  16. #define EBUSY 16 /* Device or resource busy */
  17. #define EEXIST 17 /* File exists */
  18. #define EXDEV 18 /* Cross-device link */
  19. #define ENODEV 19 /* No such device */
  20. #define ENOTDIR 20 /* Not a directory */
  21. #define EISDIR 21 /* Is a directory */
  22. #define EINVAL 22 /* Invalid argument */
  23. #define ENFILE 23 /* File table overflow */
  24. #define EMFILE 24 /* Too many open files */
  25. #define ENOTTY 25 /* Not a typewriter */
  26. #define ETXTBSY 26 /* Text file busy */
  27. #define EFBIG 27 /* File too large */
  28. #define ENOSPC 28 /* No space left on device */
  29. #define ESPIPE 29 /* Illegal seek */
  30. #define EROFS 30 /* Read-only file system */
  31. #define EMLINK 31 /* Too many links */
  32. #define EPIPE 32 /* Broken pipe */
  33. #define EDOM 33 /* Math argument out of domain of func */
  34. #define ERANGE 34 /* Math result not representable */

perror表的更多相关文章

  1. MyISAM表的维护和恢复

    本节将讨论如何使用myisamchk检查和修复MyISAM表. 同时,你可以用myisamchk来检查,修复和优化数据库表.下面将讲述如何执行这些操作并建立维护计划. 虽然使用myisamchk很安全 ...

  2. C/C++错误分析errno,perror,strerror和GetLastError()函数返回的错误代码的意义

    在C语言编译中,经常会出现一些系统的错误,这些错误如果在编译的时候不能很好的“预见”,会使系统“崩溃”,常见的捕获错误函数有: errno #include<errno.h> 这个变量是程 ...

  3. Linux内核监控模块-2-系统调用表地址的获取(Linux内核版本3.13)

    那么在Linux内核2.6之后,不能直接导出sys_call_table的地址后,我们要如何获得系统调用表的地址,从而实现系统调用的截获呢. 先贴上我实现好的代码,然后再来讲解吧. modu.c #i ...

  4. mysql 开发进阶篇系列 37 工具篇 perror (错误代码查看工具)与总结

    一.  perror 错误代码查看工具   在mysql 的使用过程中,可能会出现各种各样的error.这些error有些是由于操作系统引起的,比如文件或者目录不存在等等,使用perror的作用就是解 ...

  5. myisamchk命令修复表操作

    myisamchk命令使用总结 myisamchk实用程序可以用来获得有关你的数据库表的统计信息或检查.修复.优化他们 1.常用于myisamchk的检查选项--information, -i打印所检 ...

  6. Android的so注入( inject)和函数Hook(基于got表) - 支持arm和x86

    本文博客地址:http://blog.csdn.net/qq1084283172/article/details/53942648 前面深入学习了古河的Libinject注入Android进程,下面来 ...

  7. mysql表ERROR 144 (HY000)Table 'dede_archives' is marked

    1.故障现象 mysql> select count(*) from dede_archives;ERROR 144 (HY000): Table '.xx' is marked as cras ...

  8. In-Memory:在内存中创建临时表和表变量

    在Disk-Base数据库中,由于临时表和表变量的数据存储在tempdb中,如果系统频繁地创建和更新临时表和表变量,大量的IO操作集中在tempdb中,tempdb很可能成为系统性能的瓶颈.在SQL ...

  9. In-Memory:内存优化表的事务处理

    内存优化表(Memory-Optimized Table,简称MOT)使用乐观策略(optimistic approach)实现事务的并发控制,在读取MOT时,使用多行版本化(Multi-Row ve ...

随机推荐

  1. 1.vue脚手架搭建项目

    前言: 在使用Vue-cli脚手架搭建项目之前,需要安装node.js和npm以及vue-cli. 开始搭建项目: 1.打开cmd win+R 2.转到要搭建的项目路径: g: cd Webapp/v ...

  2. Python 初始—(字符编码解码)

    字符编码之间的编码转换则需要通过Unicode 进行转换,那么需要一个编码和解码实现与Unicode进行关联转换 例如utf-8转gbk utf-8----decode----->Unicode ...

  3. 微信小程序相关

    https://www.cnblogs.com/shenzikun1314/p/7805168.html

  4. python 函数的嵌套 和 作用域链

    # def max(a,b): # return a if a>b else b # # def the_max(x,y,z): #函数的嵌套调用 # c = max(x,y) # return ...

  5. 可以字符串string转化成list,tuple,dict的eval()方法

    功能:将字符串str当成有效的表达式来求值并返回计算结果. 语法: eval(source[, globals[, locals]]) -> value 参数: source:一个Python表 ...

  6. C# 中的正则简单例子

    public static void Main() { Regex rgx = new Regex(@"[S|s]et-[C|c]ookie: (?<cookieName>\w+ ...

  7. 为 dll (类库) 解决方案添加测试项目

    解决方案中新建项目, 添加引用, "解决方案" -> "项目", 选中即可, 而非直接添加 dll, 这会导致编译出错

  8. PHP.18-图片等比例缩放

    图片等比例缩放 自定义函数ImageUpdateSize($pricname, $maxx, $maxy, $pre) 1.$pricname:被缩放的图片源(路径):2.$maxx,$maxy:缩放 ...

  9. 洛谷P1605 迷宫

    迷宫 题目链接 这道题就是一道简单的dfs计方案数qwq. 我的思路是把表初始化为1,再将障碍改为0,因为在全局定义中数组会直接初始化为0,所以就少去了对边界的特判. next数组加循环可以减少代码量 ...

  10. Python语法之com[1][:-7]

    strCom = com[0] + ": " + com[1][:-7] 如上应该是一个字符串合成,最后的[1][:-7],我理解是去除com[1]的最后7个字符. 比如com[0 ...