Home
last modified time | relevance | path

Searched refs:SYSCON (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/cmd/init/
H A Dinit.c485 static char *SYSCON = "/dev/syscon"; /* Virtual System console */ variable
954 fd = open(SYSCON, O_RDWR | O_NOCTTY); in enter_maintenance()
963 getpid(), SYSCON, strerror(errno)); in enter_maintenance()
2872 if (stat(SYSCON, &sconbuf) != -1 && in realcon()
2957 (void) unlink(SYSCON); in write_ioctl_syscon()
2958 (void) link(SYSTTY, SYSCON); in write_ioctl_syscon()
3002 if ((fd = open(SYSCON, O_RDWR | O_NOCTTY)) < 0 || in console()
3554 (stat(SYSCON, &conbuf) == -1 || in userinit()
3560 if (lstat(SYSCON, &conbuf) != -1 && in userinit()
3561 unlink(SYSCON) == FAILURE) { in userinit()
[all …]