repo stringlengths 6 47 | file_url stringlengths 77 269 | file_path stringlengths 5 186 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-07 08:35:43 2026-01-07 08:55:24 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/openbsd_test.go | vendor/golang.org/x/sys/unix/openbsd_test.go | // Copyright 2016 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.
// +build openbsd
// This, on the face of it, bizarre testing mechanism is necessary because
// the only reliable way to gauge whether or not a pledge(2) call ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go | vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go | // cgo -godefs -- -fsigned-char types_freebsd.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm,freebsd
package unix
const (
sizeofPtr = 0x4
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x4
sizeofLongLong = 0x8
)
type (
_C_short int1... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/race0.go | vendor/golang.org/x/sys/unix/race0.go | // Copyright 2012 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.
// +build darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly
package unix
import (
"unsafe"
)
const raceenabled = false
func raceAcqui... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_dragonfly.go | vendor/golang.org/x/sys/unix/syscall_dragonfly.go | // Copyright 2009 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.
// DragonFly BSD system calls.
// This file is compiled as ordinary Go code,
// but it is also input to mksyscall,
// which parses the //sys lines and generates... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go | vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go | // linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm,linux
package unix
const (
SYS_RESTART_SYSCALL = 0
SYS_EXIT = 1
SYS_FORK = 2
SYS_READ ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/timestruct.go | vendor/golang.org/x/sys/unix/timestruct.go | // Copyright 2017 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.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
package unix
import "time"
// TimespecToNsec converts a Timespec value into a number of
// na... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go | vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go | // mksysctl_openbsd.pl
// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
package unix
type mibentry struct {
ctlname string
ctloid []_C_int
}
var sysctlMib = []mibentry{
{"ddb.console", []_C_int{9, 6}},
{"ddb.log", []_C_int{9, 7}},
{"ddb.max_line", []_C_int{9, 3}},
{"ddb.max_width", []_C_int{9, 2}},
{"d... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/dev_darwin_test.go | vendor/golang.org/x/sys/unix/dev_darwin_test.go | // Copyright 2017 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.
// +build go1.7
package unix_test
import (
"fmt"
"testing"
"golang.org/x/sys/unix"
)
func TestDevices(t *testing.T) {
testCases := []struct {
path st... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go | vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go | // mksyscall.pl -openbsd -tags openbsd,amd64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build openbsd,amd64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; D... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go | vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go | // cgo -godefs types_openbsd.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build 386,openbsd
package unix
const (
sizeofPtr = 0x4
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x4
sizeofLongLong = 0x8
)
type (
_C_short int16
_C_int i... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go | vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go | // mkerrors.sh
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm,freebsd
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_ARP = 0x23
AF_ATM ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go | vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go | // Copyright 2009 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.
// +build sparc64,linux
package unix
//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
//sys Fadvise(fd int, offset int64, length in... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/bluetooth_linux.go | vendor/golang.org/x/sys/unix/bluetooth_linux.go | // Copyright 2016 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.
// Bluetooth sockets and messages
package unix
// Bluetooth Protocols
const (
BTPROTO_L2CAP = 0
BTPROTO_HCI = 1
BTPROTO_SCO = 2
BTPROTO_RFCOMM = 3
... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go | vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go | // linux/mksysnum.pl -Wall -Werror -static -I/tmp/include -fsigned-char /tmp/include/asm/unistd.h
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build s390x,linux
package unix
const (
SYS_EXIT = 1
SYS_FORK = 2
SYS_READ = 3
SYS_WRITE ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/dev_netbsd.go | vendor/golang.org/x/sys/unix/dev_netbsd.go | // Copyright 2017 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.
// Functions to access/create device major and minor numbers matching the
// encoding used in NetBSD's sys/types.h header.
package unix
// Major returns the m... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go | vendor/golang.org/x/sys/unix/syscall_linux_amd64.go | // Copyright 2009 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.
// +build amd64,linux
package unix
//sys Dup2(oldfd int, newfd int) (err error)
//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
//... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go | vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go | // cgo -godefs types_solaris.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,solaris
package unix
const (
sizeofPtr = 0x8
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x8
sizeofLongLong = 0x8
PathMax = 0x400
MaxHostNameLen = 0... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go | vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go | // cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build ppc64le,linux
package unix
const (
sizeofPtr = 0x8
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x8
sizeofLongLong = 0x8
Path... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go | vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go | // mkerrors.sh -m32
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build 386,freebsd
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -m32 _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_ARP = 0x23
AF_ATM ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go | vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go | // mksysnum_linux.pl -Ilinux/usr/include -m64 -D__arch64__ linux/usr/include/asm/unistd.h
// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
// +build sparc64,linux
package unix
const (
SYS_RESTART_SYSCALL = 0
SYS_EXIT = 1
SYS_FORK = 2
SYS_READ = 3... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_linux_386.go | vendor/golang.org/x/sys/unix/ztypes_linux_386.go | // cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build 386,linux
package unix
const (
sizeofPtr = 0x4
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x4
sizeofLongLong = 0x8
Pat... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go | vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go | // cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mipsle,linux
package unix
const (
sizeofPtr = 0x4
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x4
sizeofLongLong = 0x8
PathM... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go | vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go | // mksysnum_netbsd.pl
// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
// +build 386,netbsd
package unix
const (
SYS_EXIT = 1 // { void|sys||exit(int rval); }
SYS_FORK = 2 // { int|sys||fork(void); }
SYS_READ = 3 // { ssize_t|sys||read(int fd, void *buf,... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go | vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go | // mkerrors.sh -m32
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build 386,netbsd
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -m32 _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_ARP = 0x1c
AF_BLUETOO... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go | vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go | // mksysnum_freebsd.pl
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,freebsd
package unix
const (
// SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
SYS_EXIT = 1 // { void sys_exit(int rval); } exit \
SYS_FORK = 2 // { in... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go | vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go | // mksyscall.pl -tags linux,ppc64 syscall_linux.go syscall_linux_ppc64x.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build linux,ppc64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func fchmodat(dirfd... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/dev_netbsd_test.go | vendor/golang.org/x/sys/unix/dev_netbsd_test.go | // Copyright 2017 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.
// +build go1.7
package unix_test
import (
"fmt"
"testing"
"golang.org/x/sys/unix"
)
func TestDevices(t *testing.T) {
testCases := []struct {
path st... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go | vendor/golang.org/x/sys/unix/syscall_linux_arm64.go | // Copyright 2015 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.
// +build arm64,linux
package unix
//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT
//sys Fadvise(fd int, offset ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/sockcmsg_unix.go | vendor/golang.org/x/sys/unix/sockcmsg_unix.go | // Copyright 2011 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.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
// Socket control messages
package unix
import "unsafe"
// Round the length of a raw sockadd... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go | vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go | // cgo -godefs types_netbsd.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,netbsd
package unix
const (
sizeofPtr = 0x8
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x8
sizeofLongLong = 0x8
)
type (
_C_short int16
_C_int i... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_netbsd_386.go | vendor/golang.org/x/sys/unix/syscall_netbsd_386.go | // Copyright 2009 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.
// +build 386,netbsd
package unix
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: int32(nsec)}
}
func setTimeval(sec, usec int6... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go | vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go | // cgo -godefs types_darwin.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,darwin
package unix
const (
sizeofPtr = 0x8
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x8
sizeofLongLong = 0x8
)
type (
_C_short int16
_C_int i... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_darwin_arm.go | vendor/golang.org/x/sys/unix/syscall_darwin_arm.go | // Copyright 2015 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.
package unix
import (
"syscall"
"unsafe"
)
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
}
func setTime... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/dev_openbsd.go | vendor/golang.org/x/sys/unix/dev_openbsd.go | // Copyright 2017 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.
// Functions to access/create device major and minor numbers matching the
// encoding used in OpenBSD's sys/types.h header.
package unix
// Major returns the ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go | vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go | // +build linux,386 linux,arm linux,mips linux,mipsle
// Copyright 2014 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.
package unix
func init() {
// On 32-bit Linux systems, the fcntl syscall that matches Go's
// Flock_t ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go | vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go | // mksysnum_freebsd.pl
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build 386,freebsd
package unix
const (
// SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
SYS_EXIT = 1 // { void sys_exit(int rval); } exit \
SYS_FORK = 2 // { int ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_darwin_386.go | vendor/golang.org/x/sys/unix/zerrors_darwin_386.go | // mkerrors.sh -m32
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build 386,darwin
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -m32 _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_CCITT = 0xa
AF_CHAOS ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go | vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go | // mksyscall.pl -tags linux,s390x syscall_linux.go syscall_linux_s390x.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build linux,s390x
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func fchmodat(dirfd ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go | vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go | // linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mips,linux
package unix
const (
SYS_SYSCALL = 4000
SYS_EXIT = 4001
SYS_FORK = 4002
SYS_READ ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go | vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go | // mksyscall.pl -l32 -arm -tags linux,arm syscall_linux.go syscall_linux_arm.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build linux,arm
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func fchmodat(di... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go | vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go | // cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mips64le,linux
package unix
const (
sizeofPtr = 0x8
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x8
sizeofLongLong = 0x8
Pat... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go | vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go | // mksyscall.pl -l32 -tags darwin,386 syscall_bsd.go syscall_darwin.go syscall_darwin_386.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build darwin,386
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
fu... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go | vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go | // Copyright 2009 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.
// +build amd64,freebsd
package unix
import (
"syscall"
"unsafe"
)
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: nsec}
}
f... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/dev_solaris_test.go | vendor/golang.org/x/sys/unix/dev_solaris_test.go | // Copyright 2017 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.
// +build go1.7
package unix_test
import (
"fmt"
"testing"
"golang.org/x/sys/unix"
)
func TestDevices(t *testing.T) {
testCases := []struct {
path st... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/errors_freebsd_arm.go | vendor/golang.org/x/sys/unix/errors_freebsd_arm.go | // Copyright 2017 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.
package unix
const (
IFT_1822 = 0x2
IFT_A12MPPSWITCH = 0x82
IFT_AAL2 = 0xbb
IFT_AAL5 ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_darwin_386.go | vendor/golang.org/x/sys/unix/ztypes_darwin_386.go | // cgo -godefs types_darwin.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build 386,darwin
package unix
const (
sizeofPtr = 0x4
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x4
sizeofLongLong = 0x8
)
type (
_C_short int16
_C_int int... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go | vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go | // Copyright 2015 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.
// +build linux
// +build mips64 mips64le
package unix
//sys Dup2(oldfd int, newfd int) (err error)
//sys EpollWait(epfd int, events []EpollEvent, msec int) (... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go | vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go | // cgo -godefs types_darwin.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm64,darwin
package unix
const (
sizeofPtr = 0x8
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x8
sizeofLongLong = 0x8
)
type (
_C_short int16
_C_int i... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/gccgo.go | vendor/golang.org/x/sys/unix/gccgo.go | // Copyright 2015 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.
// +build gccgo
package unix
import "syscall"
// We can't use the gc-syntax .s files for gccgo. On the plus side
// much of the functionality can be written ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_solaris_test.go | vendor/golang.org/x/sys/unix/syscall_solaris_test.go | // Copyright 2017 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.
// +build solaris
package unix_test
import (
"os/exec"
"testing"
"time"
"golang.org/x/sys/unix"
)
func TestSelect(t *testing.T) {
err := unix.Select(0,... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/errors_freebsd_386.go | vendor/golang.org/x/sys/unix/errors_freebsd_386.go | // Copyright 2017 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.
// Constants that were deprecated or moved to enums in the FreeBSD headers. Keep
// them here for backwards compatibility.
package unix
const (
IFF_SMART ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go | vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go | // mksyscall.pl -l32 -arm -tags linux,mipsle syscall_linux.go syscall_linux_mipsx.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build linux,mipsle
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func fch... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go | vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go | // mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.1.sdk/usr/include/sys/syscall.h
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm64,darwin
package unix
const (
SYS_SYSCALL = 0
SYS_EXIT ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go | vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go | // mkerrors.sh -marm
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm,netbsd
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -marm _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_ARP = 0x1c
AF_BLUET... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go | vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go | // cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm64,linux
package unix
const (
sizeofPtr = 0x8
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x8
sizeofLongLong... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go | vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go | // mksyscall.pl -dragonfly -tags dragonfly,amd64 syscall_bsd.go syscall_dragonfly.go syscall_dragonfly_amd64.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build dragonfly,amd64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go | vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go | // mkerrors.sh -m64
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,netbsd
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -m64 _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_ARP = 0x1c
AF_BLUET... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go | vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go | // mksyscall.pl -tags linux,arm64 syscall_linux.go syscall_linux_arm64.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build linux,arm64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func fchmodat(dirfd ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go | vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go | // mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/syscall.h
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,darwin
package unix
const (
SYS_SYSCALL = 0
SYS_EXIT ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go | vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go | // mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/syscall.h
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build 386,darwin
package unix
const (
SYS_SYSCALL = 0
SYS_EXIT ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go | vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go | // Copyright 2009 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.
// +build amd64,darwin
package unix
import (
"syscall"
"unsafe"
)
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: nsec}
}
fu... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_bsd.go | vendor/golang.org/x/sys/unix/syscall_bsd.go | // Copyright 2009 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.
// +build darwin dragonfly freebsd netbsd openbsd
// BSD system call wrappers shared by *BSD based systems
// including OS X (Darwin) and FreeBSD. Like the ot... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go | vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go | // linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build ppc64,linux
package unix
const (
SYS_RESTART_SYSCALL = 0
SYS_EXIT = 1
SYS_FORK = 2
SYS_READ ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go | vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go | // cgo -godefs types_freebsd.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,freebsd
package unix
const (
sizeofPtr = 0x8
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x8
sizeofLongLong = 0x8
)
type (
_C_short int16
_C_int ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/affinity_linux.go | vendor/golang.org/x/sys/unix/affinity_linux.go | // Copyright 2018 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.
// CPU affinity functions
package unix
import (
"unsafe"
)
const cpuSetSize = _CPU_SETSIZE / _NCPUBITS
// CPUSet represents a CPU affinity mask.
type CPUSe... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_openbsd_386.go | vendor/golang.org/x/sys/unix/syscall_openbsd_386.go | // Copyright 2009 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.
// +build 386,openbsd
package unix
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: int32(nsec)}
}
func setTimeval(sec, usec int... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go | vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go | // Copyright 2009 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.
// +build amd64,solaris
package unix
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: nsec}
}
func setTimeval(sec, usec int64) T... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go | vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go | // mkerrors.sh -Wall -Werror -static -I/tmp/include -fsigned-char
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build s390x,linux
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char _const.go
package unix
import "syscall"
const (
A... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go | vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go | // mkerrors.sh -Wall -Werror -static -I/tmp/include -m64
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,linux
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 _const.go
package unix
import "syscall"
const (
AF_ALG ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_linux_386.go | vendor/golang.org/x/sys/unix/syscall_linux_386.go | // Copyright 2009 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.
// TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP)
// so that go vet can check that they are correct.
// +build 386,linux
package unix
import (... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/fcntl.go | vendor/golang.org/x/sys/unix/fcntl.go | // Copyright 2014 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.
// +build darwin dragonfly freebsd linux netbsd openbsd
package unix
import "unsafe"
// fcntl64Syscall is usually SYS_FCNTL, but is overridden on 32-bit Linu... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go | vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go | // mkerrors.sh -Wall -Werror -static -I/tmp/include
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build ppc64,linux
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
package unix
import "syscall"
const (
AF_ALG ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go | vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go | // mksyscall_solaris.pl -tags solaris,amd64 syscall_solaris.go syscall_solaris_amd64.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build solaris,amd64
package unix
import (
"syscall"
"unsafe"
)
//go:cgo_import_dynamic libc_pipe pipe "libc.so"
//go:cgo_import_dynamic libc_getsockname g... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_linux_test.go | vendor/golang.org/x/sys/unix/syscall_linux_test.go | // Copyright 2016 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.
// +build linux
package unix_test
import (
"os"
"runtime"
"runtime/debug"
"testing"
"time"
"golang.org/x/sys/unix"
)
func TestIoctlGetInt(t *testing.T... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go | vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go | // mksysnum_netbsd.pl
// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
// +build amd64,netbsd
package unix
const (
SYS_EXIT = 1 // { void|sys||exit(int rval); }
SYS_FORK = 2 // { int|sys||fork(void); }
SYS_READ = 3 // { ssize_t|sys||read(int fd, void *bu... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go | vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go | // cgo -godefs types_netbsd.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm,netbsd
package unix
const (
sizeofPtr = 0x4
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x4
sizeofLongLong = 0x8
)
type (
_C_short int16
_C_int int... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/pagesize_unix.go | vendor/golang.org/x/sys/unix/pagesize_unix.go | // Copyright 2017 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.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
// For Unix, get the pagesize from the runtime.
package unix
import "syscall"
func Getpagesi... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_unix.go | vendor/golang.org/x/sys/unix/syscall_unix.go | // Copyright 2009 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.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
package unix
import (
"bytes"
"runtime"
"sync"
"syscall"
"unsafe"
)
var (
Stdin = 0
S... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go | vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go | // Copyright 2013 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.
// +build arm,netbsd
package unix
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: int32(nsec)}
}
func setTimeval(sec, usec int6... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go | vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go | // mksyscall.pl -tags linux,sparc64 syscall_linux.go syscall_linux_sparc64.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build linux,sparc64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func Linkat(ol... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_darwin_386.go | vendor/golang.org/x/sys/unix/syscall_darwin_386.go | // Copyright 2009 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.
// +build 386,darwin
package unix
import (
"syscall"
"unsafe"
)
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: int32(sec), Nsec: int32(... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/creds_test.go | vendor/golang.org/x/sys/unix/creds_test.go | // Copyright 2012 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.
// +build linux
package unix_test
import (
"bytes"
"go/build"
"net"
"os"
"syscall"
"testing"
"golang.org/x/sys/unix"
)
// TestSCMCredentials tests th... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go | vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go | // mksyscall.pl -tags linux,ppc64le syscall_linux.go syscall_linux_ppc64x.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build linux,ppc64le
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func fchmodat(d... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go | vendor/golang.org/x/sys/unix/zsyscall_linux_386.go | // mksyscall.pl -l32 -tags linux,386 syscall_linux.go syscall_linux_386.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build linux,386
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
func fchmodat(dirfd i... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go | vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go | // Copyright 2012 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.
// +build arm,freebsd
package unix
import (
"syscall"
"unsafe"
)
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: int32(nsec)}... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/example_test.go | vendor/golang.org/x/sys/unix/example_test.go | // Copyright 2018 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.
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
package unix_test
import (
"log"
"os"
"golang.org/x/sys/unix"
)
func ExampleExec() {
err... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go | vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go | // mkerrors.sh
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm,darwin
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_CCITT = 0xa
AF_CHAOS ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_linux.go | vendor/golang.org/x/sys/unix/syscall_linux.go | // Copyright 2009 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.
// Linux system calls.
// This file is compiled as ordinary Go code,
// but it is also input to mksyscall,
// which parses the //sys lines and generates system ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go | vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go | // Copyright 2016 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.
// +build linux
// +build mips mipsle
package unix
import (
"syscall"
"unsafe"
)
func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 ui... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go | vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go | // cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,linux
package unix
const (
sizeofPtr = 0x8
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x8
sizeofLongLong = 0x8
P... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go | vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go | // linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mips64le,linux
package unix
const (
SYS_READ = 5000
SYS_WRITE = 5001
SYS_OPEN = 5002
SYS_CLOSE ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go | vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go | // Copyright 2017 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.
// Constants that were deprecated or moved to enums in the FreeBSD headers. Keep
// them here for backwards compatibility.
package unix
const (
IFF_SMART ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go | vendor/golang.org/x/sys/unix/zerrors_linux_arm.go | // mkerrors.sh -Wall -Werror -static -I/tmp/include
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm,linux
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
package unix
import "syscall"
const (
AF_ALG ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go | vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go | // linux/mksysnum.pl -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build ppc64le,linux
package unix
const (
SYS_RESTART_SYSCALL = 0
SYS_EXIT = 1
SYS_FORK = 2
SYS_READ ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/dirent.go | vendor/golang.org/x/sys/unix/dirent.go | // Copyright 2009 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.
// +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris
package unix
import "syscall"
// ParseDirent parses up to max directory entries in buf,
... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go | vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go | // mkerrors.sh -m64
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,dragonfly
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -m64 _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_ATM = 0x1e
AF_BL... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go | vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go | // mkerrors.sh
// Code generated by the command above; see README.md. DO NOT EDIT.
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- _const.go
// +build arm,openbsd
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_BLUETOOTH = 0x20
AF_CCITT ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go | vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go | // mkerrors.sh -m64
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,freebsd
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -m64 _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_ARP = 0x23
AF_ATM ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | true |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go | vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go | // Copyright 2017 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.
// +build arm,openbsd
package unix
func setTimespec(sec, nsec int64) Timespec {
return Timespec{Sec: sec, Nsec: int32(nsec)}
}
func setTimeval(sec, usec int... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
erikvanbrakel/anthology | https://github.com/erikvanbrakel/anthology/blob/c715d868faa4799678792337e5f86725ceffd797/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go | vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go | // mksysnum_dragonfly.pl
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,dragonfly
package unix
const (
// SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
SYS_EXIT = 1 // { void exit(int rval); }
SYS_FORK = 2 // { int fork(void); }
SYS_READ... | go | MIT | c715d868faa4799678792337e5f86725ceffd797 | 2026-01-07T09:45:51.510322Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.