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);

posted on 2013-08-22 18:12  kwingmei  阅读(284)  评论(0编辑  收藏  举报

导航