This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: settimeofday breakage


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]