pub fn tty_set_internal( ctx: &mut FunctionEnvMut<'_, WasiEnv>, state: WasiTtyState, ) -> Result<(), Errno>