LibC: add errno ENOTEMPTY
This commit is contained in:
parent
61caf566fc
commit
0c582b4490
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue