summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getrusage.c
blob: e2ee366c1e6f851ae79561202c7c04c87ebcee48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * getrusage() for uClibc
 *
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <sys/syscall.h>
#include <unistd.h>
#include <wait.h>
#include <sys/resource.h>
_syscall2(int, getrusage, __rusage_who_t, who, struct rusage *, usage)