aboutsummaryrefslogtreecommitdiff
path: root/posix/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/unistd.h')
-rw-r--r--posix/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 424cedd..ab40f24 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -503,6 +503,7 @@ extern char *ttyname __P ((int __fd));
#ifdef __USE_REENTRANT
/* Store at most BUFLEN characters of the pathname of the terminal FD is
open on in BUF. Return 0 on success, -1 otherwise. */
+extern int __ttyname_r __P ((int __fd, char *__buf, int __buflen));
extern int ttyname_r __P ((int __fd, char *__buf, int __buflen));
#endif