Files
QSfera/Server/vendor/github.com/tklauser/go-sysconf/sysconf_solaris.go
T
Курнат Андрей 2315f25754 Initial QSfera import
2026-06-07 10:20:04 +03:00

15 lines
320 B
Go

// 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.
package sysconf
import "golang.org/x/sys/unix"
func sysconf(name int) (int64, error) {
if name < 0 {
return -1, errInvalid
}
return unix.Sysconf(name)
}