You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
freopen() is the POSIX libc function for redirecting stdin, stdout & stderr. The libc function takes a value of libc::FILE for the file field. libc::FILE is an empty enum, and there are no consts for stdin/stdout/stderr as there are in C. I cannot figure out how to call freopen() correctly.
Is this a genuine bug or am I missing the correct way to do this?