summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-08-06 13:47:58 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-08-06 13:47:58 +0000
commit78c86530e0529862acb1a81a571daa1b13c93f13 (patch)
tree6580c99cac941765bce5d3a322c4458f1441270f /include
parent14c2c51eca3bd5028da6c16c26659c583432eaad (diff)
Enable getpt prototype.
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 235045f33..59aded8f0 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -876,12 +876,13 @@ extern int unlockpt (int __fd) __THROW;
extern char *ptsname (int __fd) __THROW;
#endif
-#if 0
-/*#ifdef __USE_GNU*/
+#ifdef __USE_GNU
/* Store at most BUFLEN characters of the pathname of the slave pseudo
terminal associated with the master FD is open on in BUF.
Return 0 on success, otherwise an error number. */
+#if 0
extern int ptsname_r (int __fd, char *__buf, size_t __buflen) __THROW;
+#endif
/* Open a master pseudo terminal and return its file descriptor. */
extern int getpt (void) __THROW;