Searched refs:ttymax (Results 1 - 1 of 1) sorted by relevance
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_ttyname.c | 41 static long ttymax = 0; variable 98 buf = malloc(ttymax + 1); 103 (void)memset(buf, '\0', ttymax + 1); 111 rv = ttyname_r(-1, buf, ttymax); 117 rv = ttyname_r(fd, buf, ttymax); 140 buf = malloc(ttymax + 1); 145 (void)memset(buf, '\0', ttymax + 1); 148 rv = ttyname_r(STDIN_FILENO, buf, ttymax); 180 ttymax = sysconf(_SC_TTY_NAME_MAX); 181 ATF_REQUIRE(ttymax > [all...] |
Completed in 49 milliseconds