Lines Matching defs:res
45 char *res = tty;
47 if (strncmp (res, _PATH_DEV, strlen(_PATH_DEV)) == 0)
48 res += strlen(_PATH_DEV);
49 if (strncmp (res, "pty/", 4) == 0)
50 res += 4;
51 if (strncmp (res, "ptym/", 5) == 0)
52 res += 5;
53 return res;
63 char *res = tty;
65 if (strncmp (res, "pts/", 4) == 0)
66 res += 4;
67 if (strncmp (res, "tty", 3) == 0)
68 res += 3;
69 return res;