From: Ulrich Drepper Date: Fri, 8 Aug 1997 00:28:20 +0000 (+0000) Subject: (__ttyname_r): Correct comment. X-Git-Tag: cvs/glibc-2_0_5pre2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03b209a1011c11709b98372a045faaa14f77022a;p=thirdparty%2Fglibc.git (__ttyname_r): Correct comment. --- 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));