Searched refs:ttyname_buf (Results 1 – 1 of 1) sorted by relevance
50 static char ttyname_buf[sizeof(_PATH_DEV) + MAXNAMLEN]; variable93 buf = ttyname_buf; in ttyname()99 if ((buf = malloc(sizeof ttyname_buf)) == NULL) in ttyname()108 if (ttyname_r(fd, buf, sizeof ttyname_buf) != 0) in ttyname()