This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 2/5] y2038: Introduce struct __timeval64 - new internal glibc type
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Alistair Francis <alistair23 at gmail dot com>
- Cc: Lukasz Majewski <lukma at denx dot de>, Paul Eggert <eggert at cs dot ucla dot edu>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, Alistair Francis <alistair dot francis at wdc dot com>, GNU C Library <libc-alpha at sourceware dot org>, Siddhesh Poyarekar <siddhesh at gotplt dot org>, Florian Weimer <fweimer at redhat dot com>, Florian Weimer <fw at deneb dot enyo dot de>, Zack Weinberg <zackw at panix dot com>, Carlos O'Donell <carlos at redhat dot com>, Andreas Schwab <schwab at suse dot de>
- Date: Tue, 28 Jan 2020 01:42:09 +0000
- Subject: Re: [PATCH v2 2/5] y2038: Introduce struct __timeval64 - new internal glibc type
- Ironport-sdr: N1LY9QbAyanziG0WnL/WElO6hKNh/n2kluXZs4qHsMSsvxOucJvD6R14jccJP25TesFVxSUx0Y 91owqHHHdmQLId9jv7UArfbyQ2GBObpN64nmnqcClrDaiYr+bvSIfzypVypfRdWQOZ2zxPRwoJ 2ON+oFlZDNkm7qey4+H/oSdZi/II4P3aGMjHVI0tiBP2so+jYpda3+YfDew0AWeh2iVFVM6dFI Ex8X2wqWfcpJhhHzSSq0IZOzCA6xLM4ipAdH+bQgpLeT3HSraJW904NhlCAZ7Qjcn6Uhsm2Gog BXE=
- Ironport-sdr: LX7CCdVCqp7q8LFSW3OsLYNEf9fJF4a++QjdC3td8/qBWbZvpcOCUQn5UslfL5Sa0Dj3HAp5VA 1VHy/USxmBxQ==
- References: <20200126145258.32643-1-lukma@denx.de> <20200126145258.32643-2-lukma@denx.de> <CAKmqyKMXxvur5C0xrXCQRr2aAoNysQNBL5c8BMzXtZAKgxMEiQ@mail.gmail.com> <alpine.DEB.2.21.2001280042410.28987@digraph.polyomino.org.uk> <CAKmqyKO2A3fYGA1DMjejZuDBd7exhkrS1sFoSV=LULWS6xmB6g@mail.gmail.com>
On Tue, 28 Jan 2020, Alistair Francis wrote:
> How should I add a __rusage64 type then? Right now I have modified
Define it in an *internal, non-installed* header, just like __timespec64
is defined in include/time.h (the internal wrapper for the installed
header). For example, inside the "#ifndef _ISOMAC" section of
include/sys/resource.h (if using a wrapper header like that, such internal
definitions must be inside #ifndef _ISOMAC and the include of the public
header outside that conditional).
--
Joseph S. Myers
joseph@codesourcery.com