resource

@extern
object resource
class Object
trait Matchable
class Any

Type members

Types

type id_t = id_t
type rlim_t = CUnsignedLongInt
type rlimit = CStruct2[rlim_t, rlim_t]
type rusage = CStruct2[timeval, timeval]

Value members

Concrete methods

@name("scalanative_prio_pgrp")
def PRIO_PGRP: CInt
@name("scalanative_prio_process")
def PRIO_PROCESS: CInt
@name("scalanative_prio_user")
def PRIO_USER: CInt
@name("scalanative_rlimit_as")
def RLIMIT_AS: CInt
@name("scalanative_rlimit_core")
def RLIMIT_CORE: CInt
@name("scalanative_rlimit_cpu")
def RLIMIT_CPU: CInt
@name("scalanative_rlimit_data")
def RLIMIT_DATA: CInt
@name("scalanative_rlimit_fsize")
def RLIMIT_FSIZE: CInt
@name("scalanative_rlimit_nofile")
def RLIMIT_NOFILE: CInt
@name("scalanative_rlimit_stack")
def RLIMIT_STACK: CInt
@name("scalanative_rlim_infinity")
@name("scalanative_rlim_saved_cur")
@name("scalanative_rlim_saved_max")
@name("scalanative_rusage_children")
def RUSAGE_CHILDREN: CInt
@name("scalanative_rusage_self")
def RUSAGE_SELF: CInt
def getpriority(which: CInt, who: id_t): CInt
@name("scalanative_getrlimit")
def getrlimit(resource: CInt, rlim: Ptr[rlimit]): CInt
@name("scalanative_getrusage")
def getrusage(who: CInt, usage: Ptr[rusage]): CInt
def setpriority(which: CInt, who: id_t, prio: CInt): CInt
@name("scalanative_setrlimit")
def setrlimit(resource: CInt, rlim: Ptr[rlimit]): CInt