settimeofday breakage

Joseph Myers joseph@codesourcery.com
Wed Feb 12 01:02:00 GMT 2020


On Tue, 11 Feb 2020, J William Piggott wrote:

>  > > Once POSIX does remove the symbol, we can remove its definition from
>  > > default visibility
>  >
>  > I don't see that being appropriate for a very long time.
>  >
> 
> That was regarding gettimeofday, but should apply equally to
> settimeofday.

gettimeofday is used by very many applications that want the current time 
with more precision than seconds (but for which microseconds are good 
enough).

settimeofday is used by very few applications (getting the current time is 
an unprivileged operation, much more common than changing it).

The cases are quite different.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list