lkml.org 
[lkml]   [1997]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjecttty_io.c - kbd input
  I have a question regarding the function:

static int tty_write(struct inode *inode, struct file *file,
char *buf, int count);

in the file "drivers/char/tty_io.c".

Is there a way to determine, from within tty_write(), if the char(s)
in "buf" have resulted from a keyboard interrupt? To put it another
way, how do I detect keyboard chars from other kernel/appl. output?

- Chris


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.056 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site