mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-17 12:30:23 -04:00
16 lines
363 B
Go
16 lines
363 B
Go
![]() |
// Copyright 2017 The Go Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
|
||
|
|
||
|
// For Unix, get the pagesize from the runtime.
|
||
|
|
||
|
package unix
|
||
|
|
||
|
import "syscall"
|
||
|
|
||
|
func Getpagesize() int {
|
||
|
return syscall.Getpagesize()
|
||
|
}
|