www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16544] New: Add File.reopen

https://issues.dlang.org/show_bug.cgi?id=16544

          Issue ID: 16544
           Summary: Add File.reopen
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: thecybershadow gmail.com

The C freopen function allows changing the file modes of a currently open file.
The function should be exposed via a std.stdio.File function as well.

http://www.cplusplus.com/reference/cstdio/freopen/

--
Sep 26 2016