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: Add x86_64/bits/resource.h


Using __rlim_t looks like it will be right for everywhere else too.
Instead of the ugly padding fields, you can just make each one:

	__extension__ union
	{
	  long int ru_maxrss;
	  __syscall_slong_t __ru_maxrss_word;
	};

and then having all this in linux/bits/resource.h will be right everywhere
without duplication.


Thanks,
Roland


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