PATCH: Add x86_64/bits/resource.h

Roland McGrath roland@hack.frob.com
Wed May 16 19:55:00 GMT 2012


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



More information about the Libc-alpha mailing list