tty_write_mesage
/* this routine was borrowed from <printk.c> */
void tty_write_message1( struct tty_struct *tty, char *msg )
{
if( tty && tty->driver->ops->write )
tty->driver->ops->write( tty, msg, strlen( msg) );
return ;
}
在3.5内核中好像没有了(Y)
调用:
tty_write_message( current->signal->tty, msg);