aboutsummaryrefslogtreecommitdiff
path: root/src/internal/syscall/unix/fcntl_linux_32bit.go
blob: 46a4f6b030d46d929f7297f3097f9331bb0a77c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2019 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.

// On 32-bit Linux systems, use SYS_FCNTL64.
// If you change the build tags here, see syscall/flock_linux_32bit.go.

//go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle)
// +build linux,386 linux,arm linux,mips linux,mipsle

package unix

import "syscall"

func init() {
	FcntlSyscall = syscall.SYS_FCNTL64
}