Message ID | 20211030213131.140429-18-alx.manpages@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=QHjOTpAC; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=<UNKNOWN>) Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HhXr14cmpz9sXS for <incoming@patchwork.ozlabs.org>; Sun, 31 Oct 2021 08:44:17 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 65F4F385781F for <incoming@patchwork.ozlabs.org>; Sat, 30 Oct 2021 21:44:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 65F4F385781F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1635630255; bh=K2wbJ4JsbocNf7EAP8YCLkgi2hnmkqHXAS8BnCkOlT8=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=QHjOTpACnz2L9SrQ5Yq/zRyCAUYeqRNkwecf2Fp6MSL1mYv57cN9t309cpBJbYOaB t+VyuQJ5g3MDYPLUU2J3qw3oZkEdRKvr/T2GJavhj16GUNYR661zswIPV2WmWqUXoO hSGuE9JQ0AjT+Af9zVACS0pLLwycl2zJbUhhharc= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by sourceware.org (Postfix) with ESMTPS id 3AFBA3858427 for <libc-alpha@sourceware.org>; Sat, 30 Oct 2021 21:32:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3AFBA3858427 Received: by mail-wm1-x333.google.com with SMTP id g13so2428176wmg.2 for <libc-alpha@sourceware.org>; Sat, 30 Oct 2021 14:32:12 -0700 (PDT) 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=tlz2CX0BZbYU+FuOiTQDMYSyhpEROyyquXfx5gUCC9WryNUkNX5D+ijKFv4Iv/q+3R 8N9bLqhJ+W81iam6en5oQy91QAD7N8U0NKjgM9LneW0S9gaqDmbCPl5wtv/NAKCxZYnk Ffqv4wUxY6Z46j1yxK4p/P3GzbDr7fqnkZYWEC2uzfXi3AIER35ySdgKQrQD7JR9ScXS rArg8f77yLnulUYSHYSLoto7NcFHnl4Q86VcDYaHlfUIfIjAnBhSYP9z7baFdgHsZ8xM 5cizxaUeuJakCpy2X9yiwv/72TShUl8UBy3clu5nMABsYeU5H875mc5u5N9t7RaNJ5Fr 4D1Q== X-Gm-Message-State: AOAM53328W+kGB3RZWVbJhqvFwjecCRdHlq+M8TiS2FZCzEpZs7OhN8h acRiaVIm17AwvwuihGNiZ4Vgsn0jSOQ= X-Google-Smtp-Source: ABdhPJwxxYco9fP/s0N10kJCvm2DWTJczIhG30x/xDZOjvyMF7rJmePJ4CNpHE/OGsFrLTaLIrtiBA== 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) To: mtk.manpages@gmail.com, linux-man@vger.kernel.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 X-Spam-Status: No, score=-11.8 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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Alejandro Colomar via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Alejandro Colomar <alx.manpages@gmail.com> Cc: Alejandro Colomar <alx.manpages@gmail.com>, libc-alpha@sourceware.org, linux-kernel@vger.kernel.org, git@vger.kernel.org Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> |
Series |
man2: Add [[deprecated]] attribute
|
expand
|
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 <sys/time.h> .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,
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 <alx.manpages@gmail.com> --- man2/getitimer.2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)