Initial commit

This commit is contained in:
eleksir
2024-03-12 23:14:55 +03:00
commit 74eaf3bd75
634 changed files with 259702 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
// 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)
}