mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2024-12-28 20:43:38 +01:00
errno: add ENOTEMPTY for rmdir()
This commit is contained in:
parent
937b7bfb63
commit
dbfefe5172
2 changed files with 35 additions and 33 deletions
|
@ -25,6 +25,7 @@ extern int errno;
|
|||
#define ESPIPE 14 /* File descriptor is unable to seek. */
|
||||
#define EISDIR 15 /* File descriptor is a directory. */
|
||||
#define ENOTDIR 16 /* File descriptor is not a directory. */
|
||||
#define ENOTEMPTY 17 /* Directory is not empty. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@ static char *errno_strings [] = {
|
|||
[ESPIPE] = "Illegal seek",
|
||||
[EISDIR] = "Is a directory",
|
||||
[ENOTDIR] = "Not a directory",
|
||||
[ENOTEMPTY] = "Directory not empty",
|
||||
};
|
||||
|
||||
char *strerror(int e)
|
||||
|
|
Loading…
Reference in a new issue