Searched refs:kbdfd (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/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; 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, ke [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,
|
/illumos-gate/usr/src/cmd/sunpc/other/ |
H A D | dos2unix.c | 114 int kbdfd; local 227 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) { 231 if (ioctl(kbdfd, KIOCLAYOUT, &type) < 0) {
|
H A D | unix2dos.c | 121 int kbdfd; local 232 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) { 237 if (ioctl(kbdfd, KIOCLAYOUT, &type) < 0) {
|
Completed in 72 milliseconds