Create a stdio_stream instance directly.
args != NULL, args must point to a valid stdio_stream_args_t.cfg != NULL, cfg must point to a valid stdio_stream_cfg_t.env != NULL, env must point to a valid stdio_stream_env_t.out must not be NULL.args must not be NULL.cfg must not be NULL.env must not be NULL.args->kind must be one of:STDIO_STREAM_KIND_STDINSTDIO_STREAM_KIND_STDOUTSTDIO_STREAM_KIND_STDERRSTREAM_STATUS_OK.*out.stdin when args->kind == STDIO_STREAM_KIND_STDINstdout when args->kind == STDIO_STREAM_KIND_STDOUTstderr when args->kind == STDIO_STREAM_KIND_STDERRSTREAM_STATUS_INVALID for invalid arguments.STREAM_STATUS_OOM if memory allocation fails.*out unchanged if out is not NULL.stream_destroy().stdin, stdout, stderr) and does not take ownership of them.cfg parameter is currently reserved for future extensions.