From: "Alejandro Colomar (man-pages)" <alx.manpages@gmail.com>
To: git@vger.kernel.org
Subject: Replace setitimer(2) by timer_settime(2)
Date: Sat, 30 Oct 2021 22:29:55 +0200 [thread overview]
Message-ID: <1c47d47e-f0bc-fa94-b099-4f96d85bf47e@gmail.com> (raw)
Hi,
POSIX deprecated settimer(2) in favor of timer_settime(2). Their
interface is almost identical, but that the new syscalls use nanosecond
precision (struct timespec), while the old one uses microsecond
precision (struct timeval).
I'm goind to put a more prominent [[deprecated]] notice in the SYNOPSIS
of the manual page.
I noticed you are using setitimer(2), so you may want to consider
replacing it by timer_settime(2).
Cheers,
Alex
--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
reply other threads:[~2021-10-30 20:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1c47d47e-f0bc-fa94-b099-4f96d85bf47e@gmail.com \
--to=alx.manpages@gmail.com \
--cc=git@vger.kernel.org \
/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.
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 NNTP newsgroup(s).