jdk.internal.sys.posix.SysResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qbicc-rt-java.base Show documentation
Show all versions of qbicc-rt-java.base Show documentation
The Qbicc builder for the java.base JDK module
package jdk.internal.sys.posix;
import static org.qbicc.runtime.CNative.*;
import static jdk.internal.sys.posix.SysTime.*;
import org.qbicc.runtime.Build;
@include(value = "", when = Build.Target.IsPosix.class)
@include(value = "", when = Build.Target.IsPosix.class)
public class SysResource {
public static final class struct_rusage extends object {
public struct_timeval ru_utime;
public struct_timeval ru_stime;
}
public static final c_int RUSAGE_SELF = constant();
public static final c_int RUSAGE_CHILDREN = constant();
public static native c_int getrusage(c_int who, ptr r_usage);
public static final class rlim_t extends word {}
public static final rlim_t RLIM_INFINITY = constant();
public static final rlim_t RLIM_SAVED_MAX = constant();
public static final rlim_t RLIM_SAVED_CUR = constant();
public static final class struct_rlimit extends object {
public rlim_t rlim_cur;
public rlim_t rlim_max;
}
public static final c_int RLIMIT_CORE = constant();
public static final c_int RLMIT_CPU = constant();
public static final c_int RLIMIT_DATA = constant();
public static final c_int RLIMIT_FSIZE = constant();
public static final c_int RLIMIT_NOFILE = constant();
public static final c_int RLIMIT_STACK = constant();
public static final c_int RLIMIT_AS = constant();
public static native c_int getrlimit(c_int resource, ptr rlp);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy