diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-10-25 00:47:47 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-10-25 00:47:47 +0200 |
| commit | c6cc0108ca7738023b45e0eeac0fa2390532dd93 (patch) | |
| tree | 36890e6cd3091bbab8efbe686cc56f467f645bfd /vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go | |
| parent | 0130404a1dc663d4aa68d780c9bcb23a4243e68d (diff) | |
| download | jbmafp-master.tar.gz | |
Diffstat (limited to 'vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go')
| -rw-r--r-- | vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go b/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go new file mode 100644 index 0000000..29d4480 --- /dev/null +++ b/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | // Copyright 2014 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 && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) || (linux && ppc) | ||
| 6 | // +build linux,386 linux,arm linux,mips linux,mipsle linux,ppc | ||
| 7 | |||
| 8 | package unix | ||
| 9 | |||
| 10 | func init() { | ||
| 11 | // On 32-bit Linux systems, the fcntl syscall that matches Go's | ||
| 12 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL. | ||
| 13 | fcntl64Syscall = SYS_FCNTL64 | ||
| 14 | } | ||
