]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(__ttyname_r): Correct comment.
authorUlrich Drepper <drepper@redhat.com>
Fri, 8 Aug 1997 00:28:20 +0000 (00:28 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 8 Aug 1997 00:28:20 +0000 (00:28 +0000)
posix/unistd.h

index a19de2ae2753ef37da02a5fe3ea7e6ad7412303d..004d6a84f1c7749a154377a7125fd3f7b9d12a90 100644 (file)
@@ -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));