errno.h 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. #ifndef _LINUX_ERRNO_H
  2. #define _LINUX_ERRNO_H
  3. #include <uapi/linux/errno.h>
  4. /*
  5. * These should never be seen by user programs. To return one of ERESTART*
  6. * codes, signal_pending() MUST be set. Note that ptrace can observe these
  7. * at syscall exit tracing, but they will never be left for the debugged user
  8. * process to see.
  9. */
  10. #define ERESTARTSYS 512
  11. #define ERESTARTNOINTR 513
  12. #define ERESTARTNOHAND 514 /* restart if no handler.. */
  13. #define ENOIOCTLCMD 515 /* No ioctl command */
  14. #define ERESTART_RESTARTBLOCK 516 /* restart by calling sys_restart_syscall */
  15. #define EPROBE_DEFER 517 /* Driver requests probe retry */
  16. #define EOPENSTALE 518 /* open found a stale dentry */
  17. /* Defined for the NFSv3 protocol */
  18. #define EBADHANDLE 521 /* Illegal NFS file handle */
  19. #define ENOTSYNC 522 /* Update synchronization mismatch */
  20. #define EBADCOOKIE 523 /* Cookie is stale */
  21. #define ENOTSUPP 524 /* Operation is not supported */
  22. #define ETOOSMALL 525 /* Buffer or request is too small */
  23. #define ESERVERFAULT 526 /* An untranslatable error occurred */
  24. #define EBADTYPE 527 /* Type not supported by server */
  25. #define EJUKEBOX 528 /* Request initiated, but will not complete before timeout */
  26. #define EIOCBQUEUED 529 /* iocb queued, will get completion event */
  27. #endif