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: [PATCH v2 2/5] y2038: Introduce struct __timeval64 - new internal glibc type


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


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