Searched refs:buf_len (Results 1 – 1 of 1) sorted by relevance
38 size_t buf_len = 128; in xptsname() local39 char *buf = xmalloc (buf_len); in xptsname()42 rv = ptsname_r (fd, buf, buf_len); in xptsname()46 if (memchr (buf, '\0', buf_len)) in xptsname()49 buf_len *= 2; in xptsname()50 buf = xrealloc (buf, buf_len); in xptsname()
Completed in 4 milliseconds