summaryrefslogtreecommitdiff
path: root/posix/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/unistd.h')
-rw-r--r--posix/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 8593b03349..69371001c6 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -565,7 +565,7 @@ extern __pid_t vfork __P ((void));
extern char *ttyname __P ((int __fd));
/* Store at most BUFLEN characters of the pathname of the terminal FD is
- open on in BUF. Return 0 on success, -1 otherwise. */
+ open on in BUF. Return 0 on success, otherwise an error number. */
extern int __ttyname_r __P ((int __fd, char *__buf, size_t __buflen));
extern int ttyname_r __P ((int __fd, char *__buf, size_t __buflen));