Lines Matching refs:conspath
265 char conspath[MAXPATHLEN]; in destroy_console_devs() local
275 (void) snprintf(conspath, sizeof (conspath), "/dev/zcons/%s/%s", in destroy_console_devs()
277 if ((masterfd = open(conspath, O_RDWR | O_NOCTTY)) != -1) { in destroy_console_devs()
278 (void) snprintf(conspath, sizeof (conspath), "/dev/zcons/%s/%s", in destroy_console_devs()
280 if ((slavefd = open(conspath, O_RDWR | O_NOCTTY)) != -1) { in destroy_console_devs()
332 char conspath[MAXPATHLEN]; in init_console_dev() local
412 (void) snprintf(conspath, sizeof (conspath), "/dev/zcons/%s/%s", in init_console_dev()
414 if ((masterfd = open(conspath, O_RDWR | O_NOCTTY)) == -1) { in init_console_dev()
419 (void) snprintf(conspath, sizeof (conspath), "/dev/zcons/%s/%s", in init_console_dev()
421 if ((slavefd = open(conspath, O_RDWR | O_NOCTTY)) == -1) { in init_console_dev()
909 char conspath[MAXPATHLEN]; in serve_console() local
911 (void) snprintf(conspath, sizeof (conspath), in serve_console()
915 masterfd = open(conspath, O_RDWR|O_NONBLOCK|O_NOCTTY); in serve_console()