This package is a copy of cmd/go/internal/robustio. It is mostly in sync with upstream according to the last commit we've looked at, with the exception of still using I/O functions that work with older Go versions. The last upstream commit we've looked at was: dc04f3ba1f25313bc9c97e728620206c235db9ee