Searched refs:kbdfd (Results 1 - 4 of 4) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/loadkeys/
H A Dloadkeys.y131 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 Ddumpkeys.c73 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,
/opensolaris-onvv-gate/usr/src/cmd/sunpc/other/
H A Ddos2unix.c114 int kbdfd; local
227 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) {
231 if (ioctl(kbdfd, KIOCLAYOUT, &type) < 0) {
H A Dunix2dos.c121 int kbdfd; local
232 if ((kbdfd = open("/dev/kbd", O_WRONLY)) < 0) {
237 if (ioctl(kbdfd, KIOCLAYOUT, &type) < 0) {

Completed in 48 milliseconds