[RFC v2 07/20] sysdeps/gettimeofday: Use clock_gettime64 if avaliable

Zack Weinberg zackw@panix.com
Thu Jul 25 17:21:00 GMT 2019


On Thu, Jul 25, 2019 at 1:03 PM Paul Eggert <eggert@cs.ucla.edu> wrote:
>
> Arnd Bergmann wrote:
> > If we want to keep
> > the traditional settimeofday()/gettimeofday() behavior working, a new
> > kernel interface could be added
>
> Let's not. That behavior was a bad idea even in the 1980s, and applications
> stopped using it decades ago. It has been completely obsoleted by TZ strings.

Do we think we could get away with having both functions fail (with
EINVAL) whenever the tz argument is non-null?

zw



More information about the Libc-alpha mailing list