diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-01-07 09:22:57 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-01-07 14:27:51 +0100 |
| commit | c112329ffea6c3ba5be9fc9bb47f285672d582e9 (patch) | |
| tree | f60425c467c87f92b75cb4ab8850ef53f138d244 /man3/getpass.3 | |
| parent | f6a4078be5cf1248a561e89b1fb1f1fb61515f41 (diff) | |
| download | man-pages-c112329ffea6c3ba5be9fc9bb47f285672d582e9.tar.gz | |
Various pages: Standardize wording around setting of 'errno' on error
In the RETURN VALUE sections, a number of different wordings
are used in to describe the fact that 'errno' is set on error.
There's no reason for the difference in wordings, since the same
thing is being described in each case. Switch to a standard
wording that is the same as FreeBSD and similar to the wording
used in POSIX.1.
In this change, reword various cases saying that 'errno' is set
"appropriately" to "is set to indicate the error".
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/getpass.3')
| -rw-r--r-- | man3/getpass.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/getpass.3 b/man3/getpass.3 index 8c0f0e20da..95c72147e3 100644 --- a/man3/getpass.3 +++ b/man3/getpass.3 @@ -74,7 +74,7 @@ newline, terminated by a null byte (\(aq\e0\(aq). This buffer may be overwritten by a following call. On error, the terminal state is restored, .I errno -is set appropriately, and NULL is returned. +is set to indicate the error, and NULL is returned. .SH ERRORS The function may fail if .TP |
