package posix-resource
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Bindings for posix resource limits and usage
Install
dune-project
Dependency
Authors
Maintainers
Sources
v4.0.1.tar.gz
md5=464f431a8517dba4295286dd61f3ff2c
sha512=36d4c64987848fc06a4296c2141d250d95db0092b2d9d4d95f301f5eaada9a3df8ae9703fc8f2407596f6fb474a69863abd5e3d2c08636eb2c0dd67477d316e8
doc/src/posix-resource.stubs/posix_resource_stubs.ml.html
Source file posix_resource_stubs.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18open Ctypes module Def (F : Cstubs.FOREIGN) = struct open F module Types = Posix_resource_types.Def (Posix_resource_generated_types) open Types (* Resource limit functions *) let getrlimit = foreign "getrlimit" (int @-> ptr Rlimit.t @-> returning int) let setrlimit = foreign "setrlimit" (int @-> ptr Rlimit.t @-> returning int) (* Resource usage functions *) let getrusage = foreign "getrusage" (int @-> ptr Rusage.t @-> returning int) (* Priority functions *) let getpriority = foreign "getpriority" (int @-> int @-> returning int) let setpriority = foreign "setpriority" (int @-> int @-> int @-> returning int) end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>