Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.8 KiB

  1. ;***
  2. ;errno.inc - defines standard C error codes
  3. ;
  4. ; Copyright (c) 1987-2001, Microsoft Corporation. All rights reserved.
  5. ;
  6. ;Purpose:
  7. ; This file contains definitions for the standard C error codes
  8. ; used by XENIX (many of these have little significance for
  9. ; MS-DOS).
  10. ;
  11. ;Revision History:
  12. ;
  13. ;*******************************************************************************
  14. err MACRO num,name,text
  15. name equ num
  16. ENDM
  17. err 1, EPERM, <Not owner>
  18. err 2, ENOENT, <No such file or directory>
  19. err 3, ESRCH, <No such process>
  20. err 4, EINTR, <Interrupted system call>
  21. err 5, EIO, <I/O error>
  22. err 6, ENXIO, <No such device or address>
  23. err 7, E2BIG, <Arg list too long>
  24. err 8, ENOEXEC, <Exec format error>
  25. err 9, EBADF, <Bad file number>
  26. err 10, ECHILD, <No child processes>
  27. err 11, EAGAIN, <No more processes>
  28. err 12, ENOMEM, <Not enough space>
  29. err 13, EACCES, <Permission denied>
  30. err 14, EFAULT, <Bad address>
  31. err 15, ENOTBLK, <Block device required>
  32. err 16, EBUSY, <Mount device busy>
  33. err 17, EEXIST, <File exists>
  34. err 18, EXDEV, <Cross-device link>
  35. err 19, ENODEV, <No such device>
  36. err 20, ENOTDIR, <Not a directory>
  37. err 21, EISDIR, <Is a directory>
  38. err 22, EINVAL, <Invalid argument>
  39. err 23, ENFILE, <File table overflow>
  40. err 24, EMFILE, <Too many open files>
  41. err 25, ENOTTY, <Not a typewriter>
  42. err 26, ETXTBSY, <Text file busy>
  43. err 27, EFBIG, <File too large>
  44. err 28, ENOSPC, <No space left on device>
  45. err 29, ESPIPE, <Illegal seek>
  46. err 30, EROFS, <Read-only file system>
  47. err 31, EMLINK, <Too many links>
  48. err 32, EPIPE, <Broken pipe>
  49. err 33, EDOM, <Math argument>
  50. err 34, ERANGE, <Result too large>
  51. err 35, EUCLEAN, <file system needs cleaning>
  52. err 36, EDEADLOCK, <would deadlock>
  53. ; end of errno.inc
  54. ;-----------------------------------------------------------------------