diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/linux/errno.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/linux/errno.h')
-rw-r--r-- | include/linux/errno.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/linux/errno.h b/include/linux/errno.h new file mode 100644 index 000000000000..d90b80f9b28c --- /dev/null +++ b/include/linux/errno.h | |||
@@ -0,0 +1,29 @@ | |||
1 | #ifndef _LINUX_ERRNO_H | ||
2 | #define _LINUX_ERRNO_H | ||
3 | |||
4 | #include <asm/errno.h> | ||
5 | |||
6 | #ifdef __KERNEL__ | ||
7 | |||
8 | /* Should never be seen by user programs */ | ||
9 | #define ERESTARTSYS 512 | ||
10 | #define ERESTARTNOINTR 513 | ||
11 | #define ERESTARTNOHAND 514 /* restart if no handler.. */ | ||
12 | #define ENOIOCTLCMD 515 /* No ioctl command */ | ||
13 | #define ERESTART_RESTARTBLOCK 516 /* restart by calling sys_restart_syscall */ | ||
14 | |||
15 | /* Defined for the NFSv3 protocol */ | ||
16 | #define EBADHANDLE 521 /* Illegal NFS file handle */ | ||
17 | #define ENOTSYNC 522 /* Update synchronization mismatch */ | ||
18 | #define EBADCOOKIE 523 /* Cookie is stale */ | ||
19 | #define ENOTSUPP 524 /* Operation is not supported */ | ||
20 | #define ETOOSMALL 525 /* Buffer or request is too small */ | ||
21 | #define ESERVERFAULT 526 /* An untranslatable error occurred */ | ||
22 | #define EBADTYPE 527 /* Type not supported by server */ | ||
23 | #define EJUKEBOX 528 /* Request initiated, but will not complete before timeout */ | ||
24 | #define EIOCBQUEUED 529 /* iocb queued, will get completion event */ | ||
25 | #define EIOCBRETRY 530 /* iocb queued, will trigger a retry */ | ||
26 | |||
27 | #endif | ||
28 | |||
29 | #endif | ||