aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/sys/unix/sysvshm_linux.go
diff options
context:
space:
mode:
authorLibravatar Rutger Broekhoff2024-01-02 18:56:31 +0100
committerLibravatar Rutger Broekhoff2024-01-02 18:56:31 +0100
commit8db41da676ac8368ef7c2549d56239a5ff5eedde (patch)
tree09c427fd66de2ec1ebffc8342f5fdbb84b0701b5 /vendor/golang.org/x/sys/unix/sysvshm_linux.go
parentd4f75fb6db22e57577867445a022227e70958931 (diff)
downloadgitolfs3-8db41da676ac8368ef7c2549d56239a5ff5eedde.tar.gz
gitolfs3-8db41da676ac8368ef7c2549d56239a5ff5eedde.zip
Delete vendor directory
Diffstat (limited to 'vendor/golang.org/x/sys/unix/sysvshm_linux.go')
-rw-r--r--vendor/golang.org/x/sys/unix/sysvshm_linux.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/vendor/golang.org/x/sys/unix/sysvshm_linux.go b/vendor/golang.org/x/sys/unix/sysvshm_linux.go
deleted file mode 100644
index 4fcd38d..0000000
--- a/vendor/golang.org/x/sys/unix/sysvshm_linux.go
+++ /dev/null
@@ -1,20 +0,0 @@
1// Copyright 2021 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5//go:build linux
6
7package unix
8
9import "runtime"
10
11// SysvShmCtl performs control operations on the shared memory segment
12// specified by id.
13func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) {
14 if runtime.GOARCH == "arm" ||
15 runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" {
16 cmd |= ipc_64
17 }
18
19 return shmctl(id, cmd, desc)
20}