errno: fix duplicate error numbers
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
69d2fed697
commit
1ed2900296
1 changed files with 5 additions and 6 deletions
|
|
@ -2,24 +2,23 @@
|
||||||
#ifndef _ERRNO_H_
|
#ifndef _ERRNO_H_
|
||||||
#define _ERRNO_H_
|
#define _ERRNO_H_
|
||||||
|
|
||||||
|
|
||||||
#define ENOMEM 1
|
#define ENOMEM 1
|
||||||
#define ENOENT 2
|
#define ENOENT 2
|
||||||
#define EINVAL 3
|
#define EINVAL 3
|
||||||
#define EBADF 4
|
#define EBADF 4
|
||||||
#define ENOTDIR 5
|
#define ENOTDIR 5
|
||||||
#define EISDIR 6
|
#define EISDIR 6
|
||||||
#define ENOSPC 7
|
#define ENOSPC 7
|
||||||
#define EEXIST 8
|
#define EEXIST 8
|
||||||
#define ENOEXEC 9
|
#define ENOEXEC 9
|
||||||
#define EFAULT 10
|
#define EFAULT 10
|
||||||
#define EAGAIN 11
|
#define EAGAIN 11
|
||||||
#define EIO 12
|
#define EIO 12
|
||||||
#define EBUSY 13
|
#define EBUSY 13
|
||||||
#define ENOSYS 13
|
#define ENOSYS 14
|
||||||
#define ESYSCALLBLK 14
|
#define ESYSCALLBLK 15
|
||||||
#define ENAMETOOLONG 15
|
#define ENAMETOOLONG 16
|
||||||
#define EROFS 16
|
#define EROFS 17
|
||||||
|
|
||||||
#ifndef __ASM__
|
#ifndef __ASM__
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue