Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1474963pxb; Sat, 30 Oct 2021 14:37:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwixRHRnW2vUftk6EhDAWMe/57wEgzm+hW8NHlX/BfLmZh3pgDuq0/8Y5ojEd2/HRHKdsAu X-Received: by 2002:aa7:de83:: with SMTP id j3mr27612141edv.312.1635629837222; Sat, 30 Oct 2021 14:37:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635629837; cv=none; d=google.com; s=arc-20160816; b=s7URTAEWkmukzztRAgz1r2k7z3/x/HkJ+HrVH1ivsYZdmxIHKCAu/DF/g/N9tpSpbX ifDj/6JF5H6r/G+72IBYjl2Y4HKEIsNHoMGa6MXfZQBKuc7qpKF8ROhw6sTQ7hA7x8/v gM82UGWWiaSQU/Sh+Z72+NWIkZMMm4jnEaB2JnIBV+P6r7asI6RoNAtlpt6ejFYlrgvD lvEv0UpVHSWWY86XYk/gFzIMmDn9MvzCEr8c9HbutyS+neXVwp0lLQetZMaVrZ8W9NdX eR0k7fXx8oGL491lAoRzuVHk5jRAZWuS71zWXGVM0q34Lsl3OFb6i8ayNsiYlOf+69c2 SV7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=K2wbJ4JsbocNf7EAP8YCLkgi2hnmkqHXAS8BnCkOlT8=; b=tMMqeCzm8nFaaUV0rvjkybJniqgJLZlG101wPaMSLOtF3cRoPoYAAZ2WqA8HgqAfm6 VsQxhJduNQfr0/1MDgt7KD2qnumYjyfIQ/RAqziqCfkV2fxsCTzs5UhwkPHBlEs/Pghz fnCzLM4yKuxbyHYuaELxJT8cYFkIUbonu0iBdA3nqlIjN82mX2RRtYPD1GpCFWMexB+E UtXYxK5zTZMSt17zyPzgUIkXPT8mkNZW0i8TjK5nWXAJ9uvOYBShMj44x8PSIG0LUnV2 ghPIg3YFI0wtLCmoovh0hR7gdZBIg+nREQARohELNEuRWHd68Mj6dqkauH0KvO9e88xc VFTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ak5cH++M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y13si6239332edd.210.2021.10.30.14.36.54; Sat, 30 Oct 2021 14:37:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ak5cH++M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232262AbhJ3VfT (ORCPT + 99 others); Sat, 30 Oct 2021 17:35:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232076AbhJ3Ven (ORCPT ); Sat, 30 Oct 2021 17:34:43 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA4E9C061570; Sat, 30 Oct 2021 14:32:12 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id a20-20020a1c7f14000000b003231d13ee3cso14416676wmd.3; Sat, 30 Oct 2021 14:32:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=K2wbJ4JsbocNf7EAP8YCLkgi2hnmkqHXAS8BnCkOlT8=; b=Ak5cH++M2lAqc0kT2xKu8H6JG/QkXFLtL4FTucwVJI2y+5drUiBR1Ma3pZe6kk2bHM Zf030DdfsSZVFoKJRrnzn1CJPlrmVY+BIDw5jYMop3UtdGzwZX2LJKd53RgnikHBzndU ZFZmxYuS5koNF7zRX0w7p2LL8fMsrQsiNQC7NGTO3UBLTZEVlpfIUppeVqJz5jXxzlQ2 944oTu96egIjgmSIQdylGjGq00gZl+SUZGoaHMnZxsUMlzs63xCCqy1P7FvmhHtdyrdB snwWQr03PfMBjOtcv7W3rzwTy1ljXA0kuzuFDXyeeZZ+e8G555FsgVtzJ3i5bJdxaL71 D8mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=K2wbJ4JsbocNf7EAP8YCLkgi2hnmkqHXAS8BnCkOlT8=; b=Caez9mT33mgNI9U6EdFs5vOBzpqVeKgyk+hrHF9erxqzuWl63MqFgT+oOUd+O17Jwx jX4eUq510Tet1lpO7ativT/4CGfvsy2TPjl9S1vz1eyok0VRy30BydzbKaU3BOm9NikT 9mVHHOejVKo7ald8OJ/yICsJFsPltxOqiHdCloyeGsgulWHe5Zj4iqeW21mYmMXoRx2I 4cJ3b9lmmu/zTkxWmvhSPwY69kcdUVtjNxW8mzaTyrGcgVDNYb2QPo9gYmqyTR9xnVxe gCELJX1OhUZ5B5NS2nPf+iNjoPneVRquBc/DoxAuzu19JNHmn+YwFeBNnW8VEKZpUFTg 6jGg== X-Gm-Message-State: AOAM531M/8xswwp2lnebD6qMEc3UrpGk5L5qMw5zNENi4vODIpJVmwd8 RYrJrquL+ywzVgUWXKFZkeg= X-Received: by 2002:a7b:c103:: with SMTP id w3mr29347084wmi.145.1635629531430; Sat, 30 Oct 2021 14:32:11 -0700 (PDT) Received: from sqli.sqli.com ([195.53.121.100]) by smtp.googlemail.com with ESMTPSA id c79sm2948689wme.43.2021.10.30.14.32.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Oct 2021 14:32:11 -0700 (PDT) From: Alejandro Colomar To: mtk.manpages@gmail.com, linux-man@vger.kernel.org Cc: git@vger.kernel.org, Alejandro Colomar , linux-kernel@vger.kernel.org, libc-alpha@sourceware.org Subject: [PATCH 17/22] getitimer.2: SYNOPSIS: Mark as [[deprecated]] Date: Sat, 30 Oct 2021 23:31:27 +0200 Message-Id: <20211030213131.140429-18-alx.manpages@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211030213131.140429-1-alx.manpages@gmail.com> References: <20211030213131.140429-1-alx.manpages@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org POSIX deprecates them and recommends the almost identical timer_[gs]ettime(2). Those use 'struct timespec' instead of 'struct timeval'. Signed-off-by: Alejandro Colomar --- man2/getitimer.2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/man2/getitimer.2 b/man2/getitimer.2 index 7d74df174..9c9ad1978 100644 --- a/man2/getitimer.2 +++ b/man2/getitimer.2 @@ -17,9 +17,10 @@ getitimer, setitimer \- get or set value of an interval timer .nf .B #include .PP -.BI "int getitimer(int " which ", struct itimerval *" curr_value ); -.BI "int setitimer(int " which ", const struct itimerval *restrict " new_value , -.BI " struct itimerval *restrict " old_value ); +.BI "[[deprecated]] int getitimer(int " which ", struct itimerval *" curr_value ); +.BI "[[deprecated]] int setitimer(int " which , +.BI " const struct itimerval *restrict " new_value , +.BI " struct itimerval *restrict " old_value ); .fi .SH DESCRIPTION These system calls provide access to interval timers, that is, -- 2.33.1