Page MenuHomePhabricator

[flang] Track known file size, add IsATerminal (ext. I/O work part 5)

Authored by klausler on Jul 3 2020, 11:00 AM.



Add a data member knownSize_ and an accessor to allow the size of
an external file to be tracked when known. Also add a wrapper for
::isatty() here in the filesystem encapsulation module. These
features are needed for the external I/O rework changes still
to come.

Diff Detail

Event Timeline

klausler created this revision.Jul 3 2020, 11:00 AM
Herald added a project: Restricted Project. · View Herald Transcript
sscalpone accepted this revision.Jul 3 2020, 11:39 AM
This revision is now accepted and ready to land.Jul 3 2020, 11:39 AM
This revision was automatically updated to reflect the committed changes.