Searched refs:kbdfd (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/cmd/loadkeys/ |
H A D | loadkeys.y | 131 static int loadkey(int kbdfd, keyentry *kep); 132 static int dupkey(int kbdfd, dupentry *dep, int shiftmask); 133 static int swapkey(int kbdfd, dupentry *dep, int shiftmask); 148 register int kbdfd; local 181 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) { 186 if (ioctl(kbdfd, KIOCTYPE, &type) < 0) { 199 if (ioctl(kbdfd, KIOCLAYOUT, &layout) < 0) { 233 if (ioctl(kbdfd, KIOCGKEY, &mapentry) < 0) 265 if (!loadkey(kbdfd, kep)) 269 if (!loadkey(kbdfd, kep)) [all …]
|
H A D | dumpkeys.c | 73 register int kbdfd; local 80 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) { 84 if (ioctl(kbdfd, KIOCTYPE, &ktype) < 0) { 102 if (ioctl(kbdfd, KIOCGKEY, &keyentry[shift]) < 0) 116 if (ioctl(kbdfd, KIOCGKEY,
|
/titanic_41/usr/src/cmd/sunpc/other/ |
H A D | dos2unix.c | 114 int kbdfd; in main() local 227 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) { in main() 231 if (ioctl(kbdfd, KIOCLAYOUT, &type) < 0) { in main()
|
H A D | unix2dos.c | 121 int kbdfd; in main() local 232 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) { in main() 237 if (ioctl(kbdfd, KIOCLAYOUT, &type) < 0) { in main()
|