From patchwork Thu Oct 12 03:53:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luke Shumaker X-Patchwork-Id: 23487 Received: (qmail 117335 invoked by alias); 12 Oct 2017 03:53:26 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 117311 invoked by uid 89); 12 Oct 2017 03:53:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy=H*F:D*nu, H*RU:202, Hx-spam-relays-external:202 X-HELO: mav.lukeshu.com From: Luke Shumaker To: libc-alpha@sourceware.org Cc: christian.brauner@mailbox.org Subject: [PATCH 1/5] manual: Update to mention ENODEV for ttyname and ttyname_r Date: Wed, 11 Oct 2017 23:53:17 -0400 Message-Id: <20171012035321.22094-2-lukeshu@parabola.nu> In-Reply-To: <20171012035321.22094-1-lukeshu@parabola.nu> References: <20171012035321.22094-1-lukeshu@parabola.nu> Commit 15e9a4f3 by Christian Brauner introduced ENODEV as a possible error condition for ttyname and ttyname_r. The manual should mention this. --- ChangeLog | 4 ++++ manual/terminal.texi | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index a3c6b0ab19..cc036f7b88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-10-11 Luke Shumaker + + * manual/terminal.texi: Mention ENODEV for ttyname and ttyname_r. + 2017-10-10 Joseph Myers * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r): diff --git a/manual/terminal.texi b/manual/terminal.texi index 4fef5045b8..f505e93af6 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 valid, and is associated with a terminal, and +that terminal is a slave psuedo-terminal, but the associated file name +could not be determined. This is a GNU extension. @end table @end deftypefun