Last change
on this file was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
471 bytes
|
Line | |
---|
1 | /* libc/sys/linux/resource.c - Process resource functions */ |
---|
2 | |
---|
3 | /* Copyright 2002, Red Hat Inc. */ |
---|
4 | |
---|
5 | #include <sys/resource.h> |
---|
6 | #include <machine/syscall.h> |
---|
7 | |
---|
8 | _syscall2(int,getrusage,int,who,struct rusage *,r_usage) |
---|
9 | _syscall2(int,getrlimit,int,resource,struct rlimit *,rlp) |
---|
10 | |
---|
11 | weak_alias(__libc_getrlimit,__getrlimit) |
---|
12 | |
---|
13 | #if !defined(_ELIX_LEVEL) || _ELIX_LEVEL >= 2 |
---|
14 | _syscall2(int,setrlimit,int,resource,const struct rlimit *,rlp) |
---|
15 | weak_alias(__libc_setrlimit,__setrlimit) |
---|
16 | #endif |
---|
17 | |
---|
Note: See
TracBrowser
for help on using the repository browser.