/src/usr.sbin/wsconscfg/ |
wsconscfg.c | 63 int c, delete, kbd, idx, wsfd, swtch, get, mux; local in function:main 126 if ((wsfd = open(wsdev, get ? O_RDONLY : O_RDWR)) == -1) 131 if (ioctl(wsfd, VT_ACTIVATE, idx) == -1) 134 if (ioctl(wsfd, VT_GETACTIVE, &idx) == -1) 141 if (ioctl(wsfd, WSMUX_REMOVE_DEVICE, &wmd) == -1) 144 if (ioctl(wsfd, WSMUX_ADD_DEVICE, &wmd) == -1) 149 if (ioctl(wsfd, WSDISPLAYIO_DELSCREEN, &dsd) == -1) 153 if (ioctl(wsfd, WSDISPLAYIO_ADDSCREEN, &asd) == -1) {
|
/src/usr.sbin/wsmuxctl/ |
wsmuxctl.c | 114 int wsfd, list, c, add, rem, recursive; local in function:main 160 wsfd = open(wsdev, O_WRONLY, 0); 161 if (wsfd < 0) { 165 wsfd = open(wsdev, O_WRONLY, 0); 167 if (wsfd < 0) 174 listdevs(wsfd, recursive, 0); 180 if (ioctl(wsfd, WSMUXIO_ADD_DEVICE, &mdev) < 0) 186 if (ioctl(wsfd, WSMUXIO_REMOVE_DEVICE, &mdev) < 0) 190 close(wsfd);
|
/src/usr.sbin/wsfontload/ |
wsfontload.c | 142 int c, res, wsfd, ffd, verbose = 0, listfonts = 0; local in function:main 202 wsfd = open(wsdev, listfonts ? O_RDONLY : O_RDWR, 0); 203 if (wsfd < 0) 214 ret = ioctl(wsfd, WSDISPLAYIO_LISTFONTS, &fi); 301 res = ioctl(wsfd, WSDISPLAYIO_LDFONT, &f);
|