Home
last modified time | relevance | path

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

/glibc-2.36/sysdeps/unix/sysv/linux/
Dttyname.c25 static char *ttyname_buf = NULL; variable
29 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()
/glibc-2.36/ChangeLog.old/
DChangeLog.1415415 * sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add
DChangeLog.2316228 (ttyname_buf): New.