fix broken ttyname[_r] (failure to null-terminate result)
[musl] / src / math / logb.c
2012-03-13 Rich Felkerfirst commit of the new libm!