{"thread":{"id":"56815","subject":"Replace setitimer(2) by timer_settime(2)","startedAt":"2021-10-30T20:30:01Z","lastAt":"2021-10-30T20:30:01Z","messageCount":1,"participants":["Alejandro Colomar (man-pages)"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"440135","messageId":"1c47d47e-f0bc-fa94-b099-4f96d85bf47e@gmail.com","threadId":"56815","inReplyTo":null,"subject":"Replace setitimer(2) by timer_settime(2)","fromName":"Alejandro Colomar (man-pages)","fromEmail":"alx.manpages@gmail.com","sentAt":"2021-10-30T20:29:55Z","receivedAt":"2021-10-30T20:30:01Z","isPatch":false,"sender":{"key":"alx.manpages@gmail.com","avatar":null},"body":"Hi,\n\nPOSIX deprecated settimer(2) in favor of timer_settime(2).  Their \ninterface is almost identical, but that the new syscalls use nanosecond \nprecision (struct timespec), while the old one uses microsecond \nprecision (struct timeval).\n\nI'm goind to put a more prominent [[deprecated]] notice in the SYNOPSIS \nof the manual page.\n\nI noticed you are using setitimer(2), so you may want to consider \nreplacing it by timer_settime(2).\n\nCheers,\n\nAlex\n\n\n-- \nAlejandro Colomar\nLinux man-pages comaintainer; https://www.kernel.org/doc/man-pages/\nhttp://www.alejandro-colomar.es/\n"}]}