Diff of /trunk/mkinitrd-magellan/busybox/console-tools/kbd_mode.c
Parent Directory | Revision Log | Patch
revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC | revision 984 by niro, Sun May 30 11:32:42 2010 UTC | |
---|---|---|
# | Line 25 int kbd_mode_main(int argc UNUSED_PARAM, | Line 25 int kbd_mode_main(int argc UNUSED_PARAM, |
25 | const char *tty_name = CURRENT_TTY; | const char *tty_name = CURRENT_TTY; |
26 | ||
27 | opt = getopt32(argv, "sakuC:", &tty_name); | opt = getopt32(argv, "sakuC:", &tty_name); |
28 | fd = xopen(tty_name, O_NONBLOCK); | fd = xopen_nonblocking(tty_name); |
29 | opt &= 0xf; /* clear -C bit, see (*) */ | opt &= 0xf; /* clear -C bit, see (*) */ |
30 | ||
31 | if (!opt) { /* print current setting */ | if (!opt) { /* print current setting */ |
|