Xiaoguang Sun 64f10ee644 Implement getrusage
Implement getrusage.
These fields of struct rusage are not supported and always set to zero at this time
long ru_nswap;           /* swaps */
long ru_inblock;         /* block input operations */
long ru_oublock;         /* block output operations */
long ru_msgsnd;          /* messages sent */
long ru_msgrcv;          /* messages received */
long ru_nvcsw;           /* voluntary context switches */
long ru_nivcsw;          /* involuntary context switches */

test75.c is the unit test for this new function

Change-Id: I3f1eb69de1fce90d087d76773b09021fc6106539
2013-07-01 23:00:47 +02:00
..
2012-03-25 21:58:14 +02:00
2010-07-02 12:41:19 +00:00
2013-05-31 20:57:39 +00:00
2012-07-15 22:30:15 +02:00
2013-03-06 11:56:56 +01:00
2012-03-25 21:58:14 +02:00
2013-07-01 23:00:47 +02:00
2011-11-28 10:03:43 +00:00
2013-04-04 15:04:54 +02:00
2013-02-26 09:44:20 +00:00
2012-07-15 21:56:55 +02:00
2013-07-01 23:00:47 +02:00
2012-03-25 21:58:14 +02:00
2013-07-01 23:00:47 +02:00
2013-04-04 15:04:54 +02:00
2012-03-25 21:58:14 +02:00