From: Alejandro Colomar <alx.manpages@gmail.com>
To: mtk.manpages@gmail.com, linux-man@vger.kernel.org
Cc: git@vger.kernel.org, Alejandro Colomar <alx.manpages@gmail.com>,
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 [thread overview]
Message-ID: <20211030213131.140429-18-alx.manpages@gmail.com> (raw)
In-Reply-To: <20211030213131.140429-1-alx.manpages@gmail.com>
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(-)
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,
--
2.33.1
next prev parent reply other threads:[~2021-10-30 21:32 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-30 21:31 [PATCH 00/22] man2: Add [[deprecated]] attribute Alejandro Colomar
2021-10-30 21:31 ` [PATCH 01/22] bdflush.2: SYNOPSIS: Mark as [[deprecated]] Alejandro Colomar
2021-10-30 21:31 ` [PATCH 02/22] create_module.2: " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 03/22] get_kernel_syms.2: " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 04/22] getunwind.2: " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 05/22] iopl.2: " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 06/22] query_module.2: " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 07/22] remap_file_pages.2: " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 08/22] sigprocmask.2: SYNOPSIS: Mark the legacy system call " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 09/22] statfs.2: SYNOPSIS: Mark " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 10/22] stime.2: " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 11/22] ustat.2: " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 12/22] pthread_mutex_consistent.3: Mark *_np() old function " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 13/22] sysctl.2: SYNOPSIS: Mark " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 14/22] vfork.2: " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 15/22] tkill.2: SYNOPSIS: Mark tkill() " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 16/22] sgetmask.2: SYNOPSIS: Mark " Alejandro Colomar
2021-10-30 21:31 ` Alejandro Colomar [this message]
2021-10-30 21:31 ` [PATCH 18/22] futimesat.2: " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 19/22] gettimeofday.2: " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 20/22] setpgid.2: SYNOPSIS: Mark BSD versions of getpgrp() and setpgrp() " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 21/22] sysfs.2: SYNOPSIS: Mark " Alejandro Colomar
2021-10-30 21:31 ` [PATCH 22/22] uselib.2: " Alejandro Colomar
2021-10-30 22:23 ` [PATCH 00/22] man2: Add [[deprecated]] attribute Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211030213131.140429-18-alx.manpages@gmail.com \
--to=alx.manpages@gmail.com \
--cc=git@vger.kernel.org \
--cc=libc-alpha@sourceware.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-man@vger.kernel.org \
--cc=mtk.manpages@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).