xref: /openbsd-src/lib/libc/hidden/sys/resource.h (revision 15a0f5356ba433fa15c76c28e6592c9085f1ed98)
1*15a0f535Sguenther /*	$OpenBSD: resource.h,v 1.1 2015/09/11 15:38:33 guenther Exp $	*/
2*15a0f535Sguenther /*
3*15a0f535Sguenther  * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
4*15a0f535Sguenther  *
5*15a0f535Sguenther  * Permission to use, copy, modify, and distribute this software for any
6*15a0f535Sguenther  * purpose with or without fee is hereby granted, provided that the above
7*15a0f535Sguenther  * copyright notice and this permission notice appear in all copies.
8*15a0f535Sguenther  *
9*15a0f535Sguenther  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10*15a0f535Sguenther  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11*15a0f535Sguenther  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12*15a0f535Sguenther  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13*15a0f535Sguenther  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14*15a0f535Sguenther  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15*15a0f535Sguenther  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16*15a0f535Sguenther  */
17*15a0f535Sguenther 
18*15a0f535Sguenther #ifndef _LIBC_SYS_RESOURCE_H_
19*15a0f535Sguenther #define	_LIBC_SYS_RESOURCE_H_
20*15a0f535Sguenther 
21*15a0f535Sguenther #include_next <sys/resource.h>
22*15a0f535Sguenther 
23*15a0f535Sguenther PROTO_NORMAL(getpriority);
24*15a0f535Sguenther PROTO_NORMAL(getrlimit);
25*15a0f535Sguenther PROTO_NORMAL(getrusage);
26*15a0f535Sguenther PROTO_NORMAL(setpriority);
27*15a0f535Sguenther PROTO_NORMAL(setrlimit);
28*15a0f535Sguenther 
29*15a0f535Sguenther #endif	/* !_LIBC_SYS_RESOURCE_H_ */
30