Sindbad~EG File Manager

Current Path : /opt/alt/luajit/share/lua/syscall/freebsd/
Upload File :
Current File : //opt/alt/luajit/share/lua/syscall/freebsd/sysctl.lua

--types for FreeBSD sysctl, incomplete at present

local require = require

local c = require "syscall.freebsd.constants"

local types = {
  kern = {c.CTL.KERN, c.KERN},
  ["kern.ostype"]    = "string",
  ["kern.osrelease"] = "string",
  ["kern.osrev"]     = "int",
  ["kern.version"]   = "string",
  ["kern.maxvnodes"] = "int",
  ["kern.maxproc"]   = "int",
  ["kern.maxfiles"]  = "int",
  ["kern.argmax"]    = "int",
  ["kern.securelvl"] = "int",
  ["kern.hostname"]  = "string",
  ["kern.hostid"]    = "int",
}

return types


Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists