This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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] libc/include/sys/resource.h: Add prototype for getrusage() to <sys/resource.h>


On 11/24/2014 06:00 AM, Corinna Vinschen wrote:
On Nov 23 09:38, Joel Sherrill wrote:
2014-11-23  Joel Sherrill<...>

	* libc/include/sys/resource.h: Add prototype for getrusage()
	to<sys/resource.h>
---
  newlib/libc/include/sys/resource.h | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/newlib/libc/include/sys/resource.h b/newlib/libc/include/sys/resource.h
index eb82755..c35ac2a 100644
--- a/newlib/libc/include/sys/resource.h
+++ b/newlib/libc/include/sys/resource.h
@@ -11,5 +11,7 @@ struct rusage {
  	struct timeval ru_stime;	/* system time used */
  };

+int	_EXFUN(getrusage, (int, struct rusage*));
+
  #endif

Sure, go ahead.
This one was easy. Committed. Thanks.

I will think on the O_xSYNC. It is uglier. :(

Thanks,
Corinna



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