Lines Matching refs:ttypath
863 const char *ttypath; in addelem_tty() local
867 ttypath = NULL; in addelem_tty()
872 ttypath = elem; in addelem_tty()
876 ttypath = _PATH_CONSOLE; in addelem_tty()
883 ttypath = pathbuf; in addelem_tty()
895 ttypath = NULL; in addelem_tty()
903 ttypath = NULL; in addelem_tty()
908 if (ttypath) { in addelem_tty()
909 if (stat(ttypath, &sb) == -1) { in addelem_tty()
912 ttypath); in addelem_tty()
914 xo_warn("%s", ttypath); in addelem_tty()
921 pathbuf3, pathbuf2, ttypath); in addelem_tty()
923 xo_warnx("%s: Not a terminal", ttypath); in addelem_tty()