| 1234567891011121314151617 |
- // Copyright 2021 Tobias Klauser. 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 !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris
- // +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
- package sysconf
- import (
- "fmt"
- "runtime"
- )
- func sysconf(name int) (int64, error) {
- return -1, fmt.Errorf("unsupported on %s", runtime.GOOS)
- }
|