diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-08-08 00:28:20 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-08-08 00:28:20 +0000 |
commit | 03b209a1011c11709b98372a045faaa14f77022a (patch) | |
tree | 0993d3f0e8a57c70b4060b38410052cc38fad4d6 /posix | |
parent | 9de8ae84ce1739c831ef64299e332484e2efce43 (diff) |
(__ttyname_r): Correct comment.
Diffstat (limited to 'posix')
-rw-r--r-- | posix/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/unistd.h b/posix/unistd.h index a19de2ae27..004d6a84f1 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)); |