how to detect EOF on fdRead?
The documentation for the Posix routine fdRead says it can fail with "EOF" or "SystemError". How
can one programmatically distinguish these two cases?
Trac metadata
| Trac field | Value |
|---|---|
| Version | 5.0 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | ResolvedNoReason |
| Component | hslibs/posix |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |