LibC: add errno ENOTEMPTY
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#define ENOTSUP 7
|
||||
#define EBADF 8
|
||||
#define EEXISTS 9
|
||||
#define ENOTEMPTY 10
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
|
||||
@@ -37,6 +37,9 @@ char* strerror(int error)
|
||||
case EEXISTS:
|
||||
strcpy(buffer, "File exists");
|
||||
break;
|
||||
case ENOTEMPTY:
|
||||
strcpy(buffer, "Directory not empty");
|
||||
break;
|
||||
default:
|
||||
{
|
||||
// FIXME: sprintf
|
||||
|
||||
Reference in New Issue
Block a user