aboutsummaryrefslogtreecommitdiff
path: root/gnu/libg++/g++-include/sys/resource.h
diff options
context:
space:
mode:
authorsvn2git <svn2git@FreeBSD.org>1993-11-01 08:00:00 +0000
committersvn2git <svn2git@FreeBSD.org>1993-11-01 08:00:00 +0000
commit8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (patch)
treec5b2ce776438e0a52b492a2ab6ab41360b8ba1f6 /gnu/libg++/g++-include/sys/resource.h
This commit was manufactured to restore the state of the 1.0-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'gnu/libg++/g++-include/sys/resource.h')
-rw-r--r--gnu/libg++/g++-include/sys/resource.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/libg++/g++-include/sys/resource.h b/gnu/libg++/g++-include/sys/resource.h
new file mode 100644
index 000000000000..3596c1b3145c
--- /dev/null
+++ b/gnu/libg++/g++-include/sys/resource.h
@@ -0,0 +1,29 @@
+#ifndef __libgxx_sys_resource_h
+
+extern "C"
+{
+#ifdef __sys_resource_h_recursive
+#include_next <sys/resource.h>
+#else
+#include <_G_config.h>
+#define __sys_resource_h_recursive
+#include <sys/time.h>
+
+#ifdef VMS
+#include "GNU_CC_INCLUDE:[sys]resource.h"
+#else
+#include_next <sys/resource.h>
+#endif
+
+#define __libgxx_sys_resource_h 1
+
+int getrusage(int, struct rusage*);
+int getrlimit (int resource, struct rlimit *rlp);
+int setrlimit _G_ARGS((int resource, const struct rlimit *rlp));
+long ulimit(int, long);
+int getpriority(int, int);
+int setpriority(int, int, int);
+#endif
+}
+
+#endif