fix ptsname_r to conform to the upcoming posix requirements
[musl] / src / search / lsearch.c
2011-06-25 Rich FelkerXSI search.h API implementation by Szabolcs Nagy