Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Golang for NetBSD/arm
oshima-ya%yagoto-urayama.jp@localhost (Yasushi Oshima) writes:
>So I try to get PAGE_SIZE from sysctl mib 'kern.pagesize', and store to global
>variable when during Go's Runtime initialization.
>(This change may not be well becase affects to other OS or architecture)
getconf(_SC_PAGESIZE) might be more portable than a sysctl.
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index