]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blame - vendor/github.com/fsouza/go-dockerclient/external/golang.org/x/sys/unix/gccgo_linux_amd64.go
provider: Ensured Go 1.11 in TravisCI and README
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / fsouza / go-dockerclient / external / golang.org / x / sys / unix / gccgo_linux_amd64.go
CommitLineData
9b12e4fe
JC
1// Copyright 2015 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
5// +build gccgo,linux,amd64
6
7package unix
8
9import "syscall"
10
11//extern gettimeofday
12func realGettimeofday(*Timeval, *byte) int32
13
14func gettimeofday(tv *Timeval) (err syscall.Errno) {
15 r := realGettimeofday(tv, nil)
16 if r < 0 {
17 return syscall.GetErrno()
18 }
19 return 0
20}