git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Replace setitimer(2) by timer_settime(2)
@ 2021-10-30 20:29 Alejandro Colomar (man-pages)
  0 siblings, 0 replies; only message in thread
From: Alejandro Colomar (man-pages) @ 2021-10-30 20:29 UTC (permalink / raw
  To: git

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-30 20:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-30 20:29 Replace setitimer(2) by timer_settime(2) Alejandro Colomar (man-pages)

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).