Date: Sat, 20 May 1995 10:42:13 +0200 From: "Philippe Charnier" <charnier@lirmm.fr> To: hackers@FreeBSD.org Subject: sysctl(3) in kernel modules. Message-ID: <199505200842.KAA00523@lirmm.lirmm.fr>
next in thread | raw e-mail | index | archive | help
Hello, I'm trying to patch the snake saver, in the way it can find itself the name and version (i.e return value of uname -s and uname -r). The code is made but it use sysctl(3) for now, ... and don't compile (sysctl is part of libc). The question is: Can I replace it by __sysctl ? Is this THE right choice when -DKERNEL. -------- -------- Philippe Charnier charnier@lirmm.fr LIRMM, 161 rue Ada, 34392 Montpellier cedex 5 -- France ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505200842.KAA00523>