digitalmars.D.bugs - [Issue 15461] New: std.stdio.File ctor that accepts `FILE*` should
- via Digitalmars-d-bugs (20/20) Dec 18 2015 https://issues.dlang.org/show_bug.cgi?id=15461
https://issues.dlang.org/show_bug.cgi?id=15461 Issue ID: 15461 Summary: std.stdio.File ctor that accepts `FILE*` should not be hidden Product: D Version: D2 Hardware: All OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: ketmar ketmar.no-ip.org glibc has a great `fopencookie(3)` call, which can be used to build `FILE*` objects for arbitrary data sources. yet there is no way to init `std.stdio.File` with that `FILE*`, which cuts alot of possibilities. there should be a way to create `std.stdio.File` from existing `FILE*` at least on systems where `fopencookie(3)` is available. --
Dec 18 2015