OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [resource.c] - Blame information for rev 207

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/* 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
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.