From 750b738e53f799443fcfcd3a0751318c072a022f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 13 Apr 2011 08:35:32 -0400 Subject: 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 | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/stdlib.h b/include/stdlib.h index 27784c61..a12192f0 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -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 -- cgit v1.2.3-70-g09d2