Linux v2.6.16-rc1
[linux-2.6/next.git] / include / linux / errno.h
blobd90b80f9b28c7c0402b71a8fa19b2cc8d9e5efd8
1 #ifndef _LINUX_ERRNO_H
2 #define _LINUX_ERRNO_H
4 #include <asm/errno.h>
6 #ifdef __KERNEL__
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 */
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 */
27 #endif
29 #endif