/src/usr.sbin/wsconscfg/ |
wsconscfg.c | 62 const char *wsdev; local in function:main 69 wsdev = DEFDEV; 92 wsdev = optarg; 126 if ((wsfd = open(wsdev, get ? O_RDONLY : O_RDWR)) == -1) 127 err(EXIT_FAILURE, "Cannot open `%s'", wsdev);
|
/src/usr.sbin/wsmuxctl/ |
wsmuxctl.c | 113 char *wsdev, *dev; local in function:main 118 wsdev = NULL; 140 wsdev = optarg; 157 if (wsdev == NULL) 160 wsfd = open(wsdev, O_WRONLY, 0); 162 if (isdigit((unsigned char)wsdev[0])) { 163 snprintf(buf, sizeof(buf), "%s%s", ctlpath, wsdev); 164 wsdev = buf; 165 wsfd = open(wsdev, O_WRONLY, 0); 168 err(2, "%s", wsdev); [all...] |
/src/usr.sbin/wsfontload/ |
wsfontload.c | 79 "usage: %s [-Bbv] [-e encoding] [-f wsdev] [-h height]" 138 const char *wsdev; local in function:main 147 wsdev = DEFDEV; 161 wsdev = optarg; 202 wsfd = open(wsdev, listfonts ? O_RDONLY : O_RDWR, 0); 204 err(2, "open ws-device %s", wsdev);
|