Added EBUSY.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-03-10 23:18:27 +01:00
parent f8bcf3117d
commit c2660e5432
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@
#define EBLOCKING 35 #define EBLOCKING 35
#define EINTR 36 #define EINTR 36
#define ENOTEMPTY 37 #define ENOTEMPTY 37
#define EBUSY 38
#define ELAKE 41 #define ELAKE 41
#endif #endif

View File

@ -75,6 +75,7 @@ namespace Maxsi
case EBLOCKING: return (char*) "Operation is blocking"; case EBLOCKING: return (char*) "Operation is blocking";
case EINTR: return (char*) "Interrupted function call"; case EINTR: return (char*) "Interrupted function call";
case ENOTEMPTY: return (char*) "Directory not empty"; case ENOTEMPTY: return (char*) "Directory not empty";
case EBUSY: return (char*) "Device or resource busy";
case ELAKE: return (char*) "Sit by a lake"; case ELAKE: return (char*) "Sit by a lake";
default: return (char*) "Unknown error condition"; default: return (char*) "Unknown error condition";
} }