about summary refs log tree commit diff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-13 08:35:32 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-13 08:35:32 -0400
commit750b738e53f799443fcfcd3a0751318c072a022f (patch)
treeccce946913f6e5bfef0512fdd2313fd512ef1d3c /include/stdlib.h
parente2915eeeea244d3818d5eb7532ed35c6cf43c8fd (diff)
downloadmusl-750b738e53f799443fcfcd3a0751318c072a022f.tar.gz
musl-750b738e53f799443fcfcd3a0751318c072a022f.tar.xz
musl-750b738e53f799443fcfcd3a0751318c072a022f.zip
add ptsname_r (nonstandard) and split ptsname (standard) to separate file
this eliminates the ugly static buffer in programs that use ptsname_r.
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h1
1 files changed, 1 insertions, 0 deletions
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