I suggest you ...

Add fmemopen, open_memstream, and open_wmemstream from ISO/IEC TR 24731

As far as I can tell, these APIs are available everywhere except Windows. funopen and/or fopencookie would be nice, too, but I realize they aren't specified in a TR yet.

22 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
David Brown shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • Anonymous commented  ·   ·  Flag as inappropriate

    Windows has had posix 1.1 support since NT - it was added to make it easier to port Unix applications to windows, as far as I know open_memstream etc are posix 2.0 / It would be great for porting and obviate the need to go to solutions like the mingw toolset if microsoft just supported posix 2.0.

Feedback and Knowledge Base