mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Added ENOTSUP.
This commit is contained in:
parent
17d1b67a77
commit
f676cf75f4
2 changed files with 2 additions and 0 deletions
|
@ -23,5 +23,6 @@
|
||||||
#define ENOTTY 31
|
#define ENOTTY 31
|
||||||
#define ECHILD 32
|
#define ECHILD 32
|
||||||
#define ENOSYS 33
|
#define ENOSYS 33
|
||||||
|
#define ENOTSUP 34
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -71,6 +71,7 @@ namespace Maxsi
|
||||||
case ENOTTY: return (char*) "Not a tty";
|
case ENOTTY: return (char*) "Not a tty";
|
||||||
case ECHILD: return (char*) "No child processes";
|
case ECHILD: return (char*) "No child processes";
|
||||||
case ENOSYS: return (char*) "Function not implemented";
|
case ENOSYS: return (char*) "Function not implemented";
|
||||||
|
case ENOTSUP: return (char*) "Operation not supported";
|
||||||
default: return (char*) "Unknown error condition";
|
default: return (char*) "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue