Superuser/jni/su/pts.c
/**
 * pump_stdout_blocking
 *
 * Forward data from the FD to STDOUT.
 * Returns when the remote end of the FD closes.
 *
 * Before returning, restores stdin settings.
 */
pump_stdout_blocking
Forward data from the FD to STDOUT.
Returns when the remote end of the FD closes.

Before returning, restores stdin settings.
pump_stdout_blocking Forward data from the FD to STDOUT . Returns when the remote end of the FD closes . Before returning restores stdin settings .
void pump_stdout_blocking(int infd) {
    pump_ex(infd, STDOUT_FILENO, 0 );
    restore_stdin();
    watch_sigwinch_cleanup();
}
void pump_stdout_blocking ( int infd ) { pump_ex ( infd , STDOUT_FILENO , 0 ) ; restore_stdin ( ) ; watch_sigwinch_cleanup ( ) ; }
pump_stdout_blocking
 Forward data from the FD to STDOUT.
pump_stdout_blocking Forward data from the FD to STDOUT .
// Pump data from stdout to PTY /* Don't close output when done */ // Cleanup