[PATCH v2] Reinstate ftime and move define it for POSIX.1-2001 or older
Florian Weimer
fweimer@redhat.com
Mon Oct 26 16:19:24 GMT 2020
* Adhemerval Zanella:
> +struct timeb
> + {
> + time_t time; /* Seconds since epoch, as from `time'. */
> + unsigned short int millitm; /* Additional milliseconds. */
> + short int timezone; /* Minutes west of GMT. */
> + short int dstflag; /* Nonzero if Daylight Savings Time used. */
> + };
I think you could add __attribute_deprecated_msg__ on the struct itself.
Rest looks okay to me.
Thanks,
Florian
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill
More information about the Libc-alpha
mailing list