add ptsname_r (nonstandard) and split ptsname (standard) to separate file

this eliminates the ugly static buffer in programs that use ptsname_r.
This commit is contained in:
Rich Felker
2011-04-13 08:35:32 -04:00
parent e2915eeeea
commit 750b738e53
3 changed files with 17 additions and 11 deletions

View File

@ -125,6 +125,7 @@ char *mktemp (char *);
void *valloc (size_t);
void *memalign(size_t, size_t);
int clearenv(void);
int ptsname_r(int, char *, size_t);
#endif