On 6/25/07, Andrés <[EMAIL PROTECTED]> wrote:
HI, I'm trying to make Fenix (fenix.divsite.net) run under OpenBSD. Unfortunately, is uses a Linux-specific system call "sysinfo", which returns a struct of this characteristics:http://www.die.net/doc/linux/man/man2/sysinfo.2.html Fenix uses freeram, mem_unit, and totalram; how could I replace those calls to make it run on OpenBSD?
You can use the sysctl interface. man 3 sysctl.