mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
Change-Id: Ibf7a9e16ba0e1dde922748a34d61e197a985ed40 Reviewed-on: https://go-review.googlesource.com/33952 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
14 lines
388 B
Go
14 lines
388 B
Go
// +build linux,386 linux,arm linux,mips linux,mipsle
|
|
|
|
// 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.
|
|
|
|
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
|
|
}
|