aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/syscall_openbsd1.go
blob: 450f3848319eb3705e939ecc69442d638a8ee197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2020 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.

//go:build openbsd && !386 && !amd64 && !arm && !arm64
// +build openbsd,!386,!amd64,!arm,!arm64

package syscall

//sys	readlen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_READ
//sys	writelen(fd int, buf *byte, nbuf int) (n int, err error) = SYS_WRITE
//sys	Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_LSEEK
//sys	getcwd(buf []byte) (n int, err error) = SYS___GETCWD
//sys	sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL