From 03b209a1011c11709b98372a045faaa14f77022a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 8 Aug 1997 00:28:20 +0000 Subject: [PATCH] (__ttyname_r): Correct comment. --- posix/unistd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posix/unistd.h b/posix/unistd.h index a19de2ae275..004d6a84f1c 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -555,7 +555,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)); -- 2.47.2