mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 05:53:39 +00:00
syscall.Getpagesize(): add test, implement for Linux and Windows
This commit is contained in:
@@ -67,3 +67,7 @@ func getErrno() error {
|
||||
func Pipe2(p []int, flags int) (err error) {
|
||||
return ENOSYS // TODO
|
||||
}
|
||||
|
||||
func Getpagesize() int {
|
||||
return 4096 // TODO
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user