[Issue 12142] New: std.stdio should allow opening a Windows HANDLE
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 12 10:56:36 PST 2014
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 at puremagic.com
ReportedBy: thecybershadow at gmail.com
--- Comment #0 from Vladimir Panteleev <thecybershadow at 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: -------
More information about the Digitalmars-d-bugs
mailing list