Date: Mon, 13 Mar 2023 18:44:04 +0000
On Monday, March 13, 2023, Thiago Macieira via Std-Proposals <
std-proposals_at_[hidden]> wrote:
>
> Why can't you use freopen()?
>
>
freopen needs a filename, it can only redirect to a file. The handle
returned from fopencookie is a FILE* and you can't use 'fileno' to turn it
into a file descriptor.
std-proposals_at_[hidden]> wrote:
>
> Why can't you use freopen()?
>
>
freopen needs a filename, it can only redirect to a file. The handle
returned from fopencookie is a FILE* and you can't use 'fileno' to turn it
into a file descriptor.
Received on 2023-03-13 18:44:06