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 14 /* Defined for the NFSv3 protocol */ 15 #define EBADHANDLE 521 /* Illegal NFS file handle */ 16 #define ENOTSYNC 522 /* Update synchronization mismatch */ 17 #define EBADCOOKIE 523 /* Cookie is stale */ 18 #define ENOTSUPP 524 /* Operation is not supported */ 19 #define ETOOSMALL 525 /* Buffer or request is too small */ 20 #define ESERVERFAULT 526 /* An untranslatable error occurred */ 21 #define EBADTYPE 527 /* Type not supported by server */ 22 #define EJUKEBOX 528 /* Request initiated, but will not complete before timeout */ 23 24 #endif 25 26 #endif 27