fix ptsname_r to conform to the upcoming posix requirements
[musl] / src / string / memrchr.c
2011-04-13 Rich Felkerimplement memrchr (nonstandard) and optimize strrchr...