mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
Make fcntl_linux_32bit.go consistent with all other files in the package. Change-Id: If2e21027b0f31ac27d434806c18d9223ee55992f Reviewed-on: https://go-review.googlesource.com/c/sys/+/261459 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
14 lines
388 B
Go
14 lines
388 B
Go
// Copyright 2014 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.
|
|
|
|
// +build linux,386 linux,arm linux,mips linux,mipsle
|
|
|
|
package unix
|
|
|
|
func init() {
|
|
// On 32-bit Linux systems, the fcntl syscall that matches Go's
|
|
// Flock_t type is SYS_FCNTL64, not SYS_FCNTL.
|
|
fcntl64Syscall = SYS_FCNTL64
|
|
}
|