fix broken ttyname[_r] (failure to null-terminate result)
[musl] / include / crypt.h
2012-06-29 Rich Felkerreplace old and ugly crypt implementation