diff options
author | Rich Felker <dalias@aerifal.cx> | 2024-08-10 22:08:56 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2024-08-10 22:08:56 -0400 |
commit | c851b268bd9b9021599ecfdf0b8a43a3ab60d661 (patch) | |
tree | c1faf7851f6a8bfeb0f56d86c89506c10da59254 /src/errno | |
parent | 9c78557af0a5e521cdb46a4ca7630f2987d2523e (diff) | |
download | musl-c851b268bd9b9021599ecfdf0b8a43a3ab60d661.tar.gz |
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.
Diffstat (limited to 'src/errno')
-rw-r--r-- | src/errno/__strerror.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errno/__strerror.h b/src/errno/__strerror.h index 14925907..0398b5b6 100644 --- a/src/errno/__strerror.h +++ b/src/errno/__strerror.h @@ -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") |