From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86802 invoked by alias); 6 Nov 2017 12:42:19 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 86789 invoked by uid 89); 6 Nov 2017 12:42:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*M:mailbox, sk:christi, D*canonical.com, HX-Envelope-From:sk:christi X-HELO: mx1.mailbox.org Date: Mon, 06 Nov 2017 12:42:00 -0000 From: Christian Brauner To: Luke Shumaker Cc: libc-alpha@sourceware.org Subject: Re: [PATCH v2 1/5] manual: Update to mention ENODEV for ttyname and ttyname_r Message-ID: <20171106124205.i25xklwb7k4ro6yi@mailbox.org> References: <20171102185346.1386-1-lukeshu@parabola.nu> <20171102185346.1386-2-lukeshu@parabola.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20171102185346.1386-2-lukeshu@parabola.nu> X-SW-Source: 2017-11/txt/msg00160.txt.bz2 On Thu, Nov 02, 2017 at 02:53:42PM -0400, Luke Shumaker wrote: > Commit 15e9a4f3 by Christian Brauner > 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 > + > + * manual/terminal.texi (Is It a Terminal): > + Mention ENODEV for ttyname and ttyname_r. > + > 2017-11-02 Mike FABIAN > > [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 > > -- > 2.15.0 >