mirror of
git://git.musl-libc.org/musl
synced 2024-11-27 03:53:58 +08:00
strerror: add error strings for EUCLEAN and ENAVAIL
while not the only error codes presently omitted, these two are particularly likely to be encountered in the wild. EUCLEAN is used by linux filesystem and device drivers to report filesystem structure corruption or data corruption. ENAVAIL is used by some linux drivers to indicate non-availability of a resource. both names are new inventions to correspond to how they are actually used, as the original kernel strings ("Structure needs cleaning" and "No XENIX semaphores available") are not remotely meaningful or reasonable.
This commit is contained in:
parent
9c78557af0
commit
c851b268bd
@ -97,6 +97,8 @@ E(ESHUTDOWN, "Cannot send after socket shutdown")
|
||||
E(EALREADY, "Operation already in progress")
|
||||
E(EINPROGRESS, "Operation in progress")
|
||||
E(ESTALE, "Stale file handle")
|
||||
E(EUCLEAN, "Data consistency error")
|
||||
E(ENAVAIL, "Resource not available")
|
||||
E(EREMOTEIO, "Remote I/O error")
|
||||
E(EDQUOT, "Quota exceeded")
|
||||
E(ENOMEDIUM, "No medium found")
|
||||
|
Loading…
Reference in New Issue
Block a user