mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2025-05-24 12:35:10 +02:00
string: add missing ENODEV message in strerror
This commit is contained in:
parent
09610f59de
commit
283f39a765
2 changed files with 2 additions and 1 deletions
|
@ -183,7 +183,7 @@ extern FILE *freopen(
|
||||||
/* Use __buf as a buffer (of size BUFSIZ) for access to __fp. */
|
/* Use __buf as a buffer (of size BUFSIZ) for access to __fp. */
|
||||||
extern void setbuf(FILE * __restrict__ __fp, char * __restrict__ __buf);
|
extern void setbuf(FILE * __restrict__ __fp, char * __restrict__ __buf);
|
||||||
|
|
||||||
/* Changer the buffering mode and buffer address for __fp. */
|
/* Change the buffering mode and buffer address for __fp. */
|
||||||
extern int setvbuf(FILE * __restrict__ __fp, char * __restrict__ __buf,
|
extern int setvbuf(FILE * __restrict__ __fp, char * __restrict__ __buf,
|
||||||
int __mode, size_t __size);
|
int __mode, size_t __size);
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ static char *errno_strings [] = {
|
||||||
[EINTR] = "Interrupted system call",
|
[EINTR] = "Interrupted system call",
|
||||||
[EAGAIN] = "Resource temporarily unavailable",
|
[EAGAIN] = "Resource temporarily unavailable",
|
||||||
[EIO] = "Input/output error",
|
[EIO] = "Input/output error",
|
||||||
|
[ENODEV] = "No such device",
|
||||||
[ENOMEDIUM] = "No medium found",
|
[ENOMEDIUM] = "No medium found",
|
||||||
[EMEDIUMTYPE] = "Wrong medium type",
|
[EMEDIUMTYPE] = "Wrong medium type",
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue