Home
last modified time | relevance | path

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

/external/toybox/toys/posix/
Dps.c704 int tty_major = 0, maj = major(rdev), min = minor(rdev); in get_ps() local
707 while (fscanf(fp, "%*s %256s %d %*s %*s", buf, &tty_major) == 2) { in get_ps()
709 if (tty_major == maj) { in get_ps()
714 tty_major = 0; in get_ps()
720 if (!tty_major) sprintf(buf, "%d:%d", maj, min); in get_ps()