LibC: Define ESHUTDOWN

This is not used but some ports expect it to exist
This commit is contained in:
2025-11-02 21:09:48 +02:00
parent 10084ff1bb
commit b822d42889
4 changed files with 5 additions and 0 deletions

View File

@@ -179,6 +179,7 @@ const char* strerrordesc_np(int error)
case EWOULDBLOCK: return "Operation would block.";
case EXDEV: return "Cross-device link.";
case ENOTBLK: return "Block device required";
case ESHUTDOWN: return "Cannot send after transport endpoint shutdown.";
case EUNKNOWN: return "Unknown error";
}
return nullptr;