Searched refs:ttyname_buf (Results 1 – 3 of 3) sorted by relevance
25 static char *ttyname_buf = NULL; variable29 free (ttyname_buf); in libc_freeres_fn()44 if (ttyname_buf == NULL) in ttyname()46 ttyname_buf = malloc (PATH_MAX); in ttyname()47 if (ttyname_buf == NULL) in ttyname()51 int result = __ttyname_r (fd, ttyname_buf, PATH_MAX); in ttyname()57 return ttyname_buf; in ttyname()
15415 * sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add
16228 (ttyname_buf): New.