Blame vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go

Packit Service 4d2de5
// +build linux,386 linux,arm linux,mips linux,mipsle
Packit Service 4d2de5
Packit Service 4d2de5
// Copyright 2014 The Go Authors. All rights reserved.
Packit Service 4d2de5
// Use of this source code is governed by a BSD-style
Packit Service 4d2de5
// license that can be found in the LICENSE file.
Packit Service 4d2de5
Packit Service 4d2de5
package unix
Packit Service 4d2de5
Packit Service 4d2de5
func init() {
Packit Service 4d2de5
	// On 32-bit Linux systems, the fcntl syscall that matches Go's
Packit Service 4d2de5
	// Flock_t type is SYS_FCNTL64, not SYS_FCNTL.
Packit Service 4d2de5
	fcntl64Syscall = SYS_FCNTL64
Packit Service 4d2de5
}