add ptsname_r (nonstandard) and split ptsname (standard) to separate file
authorRich Felker <dalias@aerifal.cx>
Wed, 13 Apr 2011 12:35:32 +0000 (08:35 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 13 Apr 2011 12:35:32 +0000 (08:35 -0400)
commit750b738e53f799443fcfcd3a0751318c072a022f
treeccce946913f6e5bfef0512fdd2313fd512ef1d3c
parente2915eeeea244d3818d5eb7532ed35c6cf43c8fd
add ptsname_r (nonstandard) and split ptsname (standard) to separate file

this eliminates the ugly static buffer in programs that use ptsname_r.
include/stdlib.h
src/misc/ptsname.c [new file with mode: 0644]
src/misc/pty.c