sys/timerfd.h missing

Thomas D. Dean tomdean at wavecable.com
Tue Jul 13 02:23:34 UTC 2021


On 7/12/21 7:14 PM, Thomas D. Dean wrote:
>  > cc -O2 -pipe  hwmon.c  -o hwmon
> hwmon.c:1:10:fatal error: 'sys/timerfd.h' file not found
> 
> Any idea where I can find timerfd.h?
> 

Been away too long.

I want to:

start timer  /* >> loop execution time */
do something
while(1)
   wait timer
   start timer   /* >> loop execution time */
   do something
   do something else

Somewhere this is possible.  select?

Tom Dean


More information about the freebsd-questions mailing list