summaryrefslogblamecommitdiff
path: root/src/misc/getrusage.c
blob: a5cbd757dbf3a5f8cd7682adf289e44206d42fd7 (plain) (tree)
1
2
3
4
5
6
7
8



                         

                                         
                                               
 
#include <sys/resource.h>
#include <string.h>
#include "syscall.h"

int getrusage(int who, struct rusage *ru)
{
	return syscall(SYS_getrusage, who, ru);
}