From patchwork Sun Jun 29 16:16:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Peter Anvin" X-Patchwork-Id: 115261 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 49D253852FF9 for ; Sun, 29 Jun 2025 16:21:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 49D253852FF9 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=zytor.com header.i=@zytor.com header.a=rsa-sha256 header.s=2025062101 header.b=AccIj3zG X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail.zytor.com (terminus.zytor.com [IPv6:2607:7c80:54:3::136]) by sourceware.org (Postfix) with ESMTPS id 9B1593852FD1 for ; Sun, 29 Jun 2025 16:16:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9B1593852FD1 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=zytor.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=zytor.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9B1593852FD1 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:7c80:54:3::136 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1751213800; cv=none; b=gou9GMP2YVUZ76Moe+U3MU184g/weEWBVqC29HnTg184lzjIJFokt7XaVq4EoZ4z4txs10jXG++8ldsmAYRktGzXmMGBGEhdPJDO3SnczuoJ2zviv/ZppNk5vDoCmyR0MchR3sKHzEFfvkgf1SglW7BPIsF5UHxy32CB5EEeyBo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1751213800; c=relaxed/simple; bh=tJA08OSEJdQWRmnHkWGG84VMgPCuBRSX8h8YyewxYyY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=JjXMNNW0PCjqfeAVdCP+JJnBtw/EWDl0LF2Vg1wC3Glm0HA9j4GmfSzUrtxg9grtbrNFHRT+xYEjVE/MgyhEn5B+wrRDxTq7rtxJ+gIKsGHzmawBI86j59QXZzMRlUkqh3ph1C1tt9YyzF0HhVuL5FbzW/C/x/ijkvLmpSi0YWo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B1593852FD1 Received: from mail.zytor.com ([IPv6:2601:646:8081:9482:ef13:4515:a701:e3bb]) (authenticated bits=0) by mail.zytor.com (8.18.1/8.17.1) with ESMTPSA id 55TGGcKn3515149 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 29 Jun 2025 09:16:39 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 55TGGcKn3515149 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2025062101; t=1751213799; bh=foztZE2FguNkFXouJw2lI5fChpL/3kgiRCxWdIN9Qt4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AccIj3zG53XG1lMU2Jk2XLnkEHZWJ5sUX8shltDnfTaNS7PjgxZG3TIZ+cISlouJz JYQSLnaCk+e84Kh85KFqq1ilx/0qSIAZvSCZq96Ynxisv/pq2Kge7psqs0SyexV00t gkpoJoQZ24dYqv7+iFfU+l+m8BA09W98YPe4+WiVtzBpjh2+/IL4h1QMNSS4CWxCkG CvQKkEUD9LPjAMByrEvQ7elPx2snr3vJqcHU6mpLGpTmyfayqUWmeeMYpastfvKheT exewAlehYaJ5yJNRoqciBVoxq5p0f0g4b+MxaN1Vdkplt9kPDepVvZcvcBMBqzZG3m fa9EaGwunPbbQ== From: "H. Peter Anvin" To: libc-alpha@sourceware.org Cc: "H. Peter Anvin" Subject: [PATCH v2 2/5] termios: manual: remove duplicate cfgetospeed() definition Date: Sun, 29 Jun 2025 09:16:29 -0700 Message-ID: <20250629161632.581628-3-hpa@zytor.com> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250629161632.581628-1-hpa@zytor.com> References: <20250629161632.581628-1-hpa@zytor.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org The function cfsetospeed() is defined twice in the manual. Remove the one that seems out of place. Signed-off-by: "H. Peter Anvin" (Intel) Reviewed-by: Collin Funk --- manual/terminal.texi | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/manual/terminal.texi b/manual/terminal.texi index 8a9259f69989..ddab2581a368 100644 --- a/manual/terminal.texi +++ b/manual/terminal.texi @@ -1047,16 +1047,6 @@ The @code{speed_t} type is an unsigned integer data type used to represent line speeds. @end deftp -@deftypefun speed_t cfgetospeed (const struct termios *@var{termios-p}) -@standards{POSIX.1, termios.h} -@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}} -@c Direct access to a single termios field, except on Linux, where -@c multiple accesses may take place. No worries either way, callers -@c must ensure mutual exclusion on such non-opaque types. -This function returns the output line speed stored in the structure -@code{*@var{termios-p}}. -@end deftypefun - @strong{Portability note:} In @theglibc{}, the functions above accept speeds measured in bits per second as input, and return speed values measured in bits per second. Other libraries require speeds to