Index | Thread | Search

From:
Jonathan Gray <jsg@jsg.id.au>
Subject:
Re: kern_time: Use abs() to replace open code
To:
Miod Vallat <miod@online.fr>
Cc:
Thorsten Blum <thorsten.blum@toblux.com>, tech@openbsd.org
Date:
Wed, 9 Oct 2024 20:15:01 +1100

Download raw body.

Thread
On Wed, Oct 09, 2024 at 08:45:27AM +0000, Miod Vallat wrote:
> > +		deltat = abs(rtctime.tv_sec - base);
> 
> This function is not available in the kernel.

it is in libkern.h, documented in abs(9)