blob: 29d44808b1d02b122a34bd0d6e39d6a274bb3871 [file] [log] [blame]
khenaidooac637102019-01-14 15:44:34 -05001// 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
khenaidood948f772021-08-11 17:49:24 -04005//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
khenaidooac637102019-01-14 15:44:34 -05008package unix
9
10func 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}