Source file src/syscall/syscall_openbsd1.go
1 // Copyright 2020 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build openbsd && mips64 6 7 package syscall 8 9 //sys readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ 10 //sys writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE 11 //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK 12 //sys getcwd(buf []byte) (n int, err error) = SYS___GETCWD 13 //sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL 14