[PATCH v2 1/5] manual: Update to mention ENODEV for ttyname and ttyname_r
Christian Brauner
christian.brauner@mailbox.org
Mon Nov 6 12:42:00 GMT 2017
On Thu, Nov 02, 2017 at 02:53:42PM -0400, Luke Shumaker wrote:
> Commit 15e9a4f3 by Christian Brauner <christian.brauner@canonical.com>
> introduced ENODEV as a possible error condition for ttyname and ttyname_r.
> The manual should mention this.
>
> v2:
> - Fix typo: psuedo->pseudo
> - Improve wording
> - Fix ChangeLog item name
> ---
> ChangeLog | 5 +++++
> manual/terminal.texi | 5 +++++
> 2 files changed, 10 insertions(+)
>
> diff --git a/ChangeLog b/ChangeLog
> index 0125305f6e..f6137669bf 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,8 @@
> +2017-11-02 Luke Shumaker <lukeshu@parabola.nu>
> +
> + * manual/terminal.texi (Is It a Terminal):
> + Mention ENODEV for ttyname and ttyname_r.
> +
> 2017-11-02 Mike FABIAN <mfabian@redhat.com>
>
> [BZ #22382]
> diff --git a/manual/terminal.texi b/manual/terminal.texi
> index 4fef5045b8..4aace48b14 100644
> --- a/manual/terminal.texi
> +++ b/manual/terminal.texi
> @@ -109,6 +109,11 @@ The @var{filedes} is not associated with a terminal.
> @item ERANGE
> The buffer length @var{len} is too small to store the string to be
> returned.
> +
> +@item ENODEV
> +The @var{filedes} is associated with a terminal device that is a slave
> +pseudo-terminal, but the file name associated with that device could
> +not be determined. This is a GNU extension.
> @end table
> @end deftypefun
Reviewed-By: Christian Brauner <christian.brauner@ubuntu.com>
>
> --
> 2.15.0
>
More information about the Libc-alpha
mailing list