mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 19:09:58 +08:00
f6b2b56722
* libc/sys/linux/Makefile.am: Add resource.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/resource.c: New file. * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer. * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c. * libc/sys/linux/machine/i386/Makefile.in: Regenerated. * libc/sys/linux/machine/i386/syscalls.c: Removed as functions are now found in libc/sys/linux/resource.c.
11 lines
333 B
C
11 lines
333 B
C
/* libc/sys/linux/resource.c - Process resource functions */
|
|
|
|
/* Copyright 2002, Red Hat Inc. */
|
|
|
|
#include <sys/resource.h>
|
|
#include <machine/syscall.h>
|
|
|
|
_syscall2(int,getrusage,int,who,struct rusage *,r_usage)
|
|
_syscall2(int,getrlimit,int,resource,struct rlimit *,rlp)
|
|
_syscall2(int,setrlimit,int,resource,const struct rlimit *,rlp)
|