www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12142] New: std.stdio should allow opening a Windows HANDLE

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12142

           Summary: std.stdio should allow opening a Windows HANDLE
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: pull
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: thecybershadow gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow gmail.com> 2014-02-12
20:56:33 EET ---
Windows C libraries expose APIs that allow binding a HANDLE to a file
descriptor (which can then be fdopen-ed to a FILE*, and wrapped into a
std.stdio.File). This functionality is already used by std.process, but user
code can also benefit from the ability to use HANDLEs (which can be pipes and
other devices) using std.stdio. Respectively, there should be a way to obtain a
HANDLE back from a File.

https://github.com/D-Programming-Language/phobos/pull/1888

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 12 2014
parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12142


Vladimir Panteleev <thecybershadow gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 16 2014