summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2020-10-20 01:29:45 +0000
committerXin LI <delphij@FreeBSD.org>2020-10-20 01:29:45 +0000
commit5011fb430a898f8ef4f53f4ae2034d029cd388c0 (patch)
tree2e8cf93c74ff5112ccd9fcf0b8d83b3f387c5b3c /include/stdlib.h
parentbce74ff0ce287821c77de88ccd679031a17c65fb (diff)
downloadsrc-test2-5011fb430a898f8ef4f53f4ae2034d029cd388c0.tar.gz
src-test2-5011fb430a898f8ef4f53f4ae2034d029cd388c0.zip
Notes
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index b09517751e8d..045a9fda9cfb 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -211,7 +211,6 @@ double drand48(void);
double erand48(unsigned short[3]);
/* char *fcvt(double, int, int * __restrict, int * __restrict); */
/* char *gcvt(double, int, int * __restrict, int * __restrict); */
-int grantpt(int);
char *initstate(unsigned int, char *, size_t);
long jrand48(unsigned short[3]);
char *l64a(long);
@@ -223,9 +222,6 @@ char *mktemp(char *);
#endif
long mrand48(void);
long nrand48(unsigned short[3]);
-int posix_openpt(int);
-char *ptsname(int);
-int ptsname_r(int, char *, size_t);
int putenv(char *);
long random(void);
unsigned short
@@ -233,8 +229,18 @@ unsigned short
char *setstate(/* const */ char *);
void srand48(long);
void srandom(unsigned int);
+#endif /* __XSI_VISIBLE */
+
+#if __XSI_VISIBLE
+int grantpt(int);
+int posix_openpt(int);
+char *ptsname(int);
int unlockpt(int);
#endif /* __XSI_VISIBLE */
+#if __BSD_VISIBLE
+/* ptsname_r will be included in POSIX issue 8 */
+int ptsname_r(int, char *, size_t);
+#endif
#if __BSD_VISIBLE
extern const char *malloc_conf;