• Tobias Klauser's avatar
    unix: add SysctlUvmexp on OpenBSD · 679a27de
    Tobias Klauser authored
    OpenBSD uses sysctl with struct uvmexp to get information from the
    virtual memory system of the kernel. Add type Uvmexp and the
    SysctlUvmexp function to query this information.
    
    This will be used in github.com/tklauser/go-sysconf to get
    _SC_AVPHYS_PAGES on OpenBSD.
    
    Change-Id: I96ded2d1be37e5307bab55e79b13234cc93d21e6
    Reviewed-on: https://go-review.googlesource.com/c/139278
    Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    679a27de
Name
Last commit
Last update
cpu Loading commit data...
plan9 Loading commit data...
unix Loading commit data...
windows Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
codereview.cfg Loading commit data...