Function ctru_sys::link3dsConnectToHost
source · pub unsafe extern "C" fn link3dsConnectToHost(
redirStdout: bool,
redirStderr: bool
) -> c_int
Expand description
Connects to the 3dslink host, setting up an output stream.
§Arguments
redirStdout
(direction in) - Whether to redirect stdout to nxlink output.redirStderr
(direction in) - Whether to redirect stderr to nxlink output.
§Returns
Socket fd on success, negative number on failure.
Note: The socket should be closed with close() during application cleanup.