From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by sourceware.org (Postfix) with ESMTPS id C5297396D80C for ; Mon, 10 May 2021 17:56:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C5297396D80C Received: by mail-wr1-x430.google.com with SMTP id v12so17516681wrq.6 for ; Mon, 10 May 2021 10:56:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=y1VLOq171M10g1rh5psGYSCTYnG4i566l1+++qkNDHY=; b=kUkP2RZnka9a3ct8HoKcSznMjQY6mym1Cue0zvrZ7j5h7AuTglOh/o7pF7xgI9eYsw lKLHcDTTAuHAFeVYJhkFCesgvVO2nvgU7akPUJ+q7F9A6WTj+xU9T8GAFviZ9bpd+Vep FhqQecNXU34jSEezXfOl9KV3mhe+33rfetkCfXBfUoQBsi+GFh92qGejKctc+mqbBwkU jz+Z4Lh4jv3neuYcKt0W3mFTStdcE1kr7/FBx1xknRBBCsQh2g85AcOyMo95aciUMIGp 4xrgfMkXFk8b5WAPetpeOEVPCBdqsclYtWLU7M+QtOJAQ/r5rXqQsbp9BIkZIFh1XfoB 1hog== X-Gm-Message-State: AOAM531nQFzAwLAI8j/X3AbBfgvF7CZ73uCkn7XFg5cihU2NkAzd2ZtW fBZOvMF//mTEvr3NwoU/Qp4= X-Google-Smtp-Source: ABdhPJyQAqAh13jO3r6w8/jJPe84a/3udOQtKkWPdGVpS6ndUcrL5242flEkHNgT1iUiAMAwW2sHxw== X-Received: by 2002:a5d:64e4:: with SMTP id g4mr31833026wri.366.1620669380968; Mon, 10 May 2021 10:56:20 -0700 (PDT) Received: from sqli.sqli.com ([195.53.121.100]) by smtp.googlemail.com with ESMTPSA id m13sm24318830wrw.86.2021.05.10.10.56.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 10:56:20 -0700 (PDT) From: Alejandro Colomar To: mtk.manpages@gmail.com Cc: Florian Weimer , Jakub Wilk , Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Subject: [PATCH 03/39] ioctl_tty.2: Fix includes Date: Mon, 10 May 2021 19:55:12 +0200 Message-Id: <20210510175546.28445-4-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210510175546.28445-1-alx.manpages@gmail.com> References: <20210510175546.28445-1-alx.manpages@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2021 17:56:23 -0000 is needed for the prototype of ioctl(). That header also provides most of the constants used by the function. Only a few of those constants are not provided by that header, and need ; clarify which constants do need that include. ...... $ --- man2/ioctl_tty.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man2/ioctl_tty.2 b/man2/ioctl_tty.2 index badd58e50..c82690701 100644 --- a/man2/ioctl_tty.2 +++ b/man2/ioctl_tty.2 @@ -10,7 +10,9 @@ ioctl_tty \- ioctls for terminals and serial lines .SH SYNOPSIS .nf -.B "#include " +.B #include +.BR "#include " " /* Definition of " CLOCAL ", and" +.BR " TC*" { FLUSH , ON , OFF "} constants */" .PP .BI "int ioctl(int " fd ", int " cmd ", ...);" .fi @@ -119,8 +121,6 @@ Window sizes are kept in the kernel, but not used by the kernel update the window size when the size of the virtual console changes, for example, by loading a new font). .PP -The following constants and structure are defined in -.IR . .TP .B TIOCGWINSZ Argument: -- 2.31.1