Sha256: ddf16a3e0aef0fc3a78b9c03e85516ee5aed951ded56b59f938327feeb84a510

Contents?: true

Size: 464 Bytes

Versions: 16

Compression:

Stored size: 464 Bytes

Contents

// Copyright 2015 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.

//go:build gccgo && linux && amd64
// +build gccgo,linux,amd64

package unix

import "syscall"

//extern gettimeofday
func realGettimeofday(*Timeval, *byte) int32

func gettimeofday(tv *Timeval) (err syscall.Errno) {
	r := realGettimeofday(tv, nil)
	if r < 0 {
		return syscall.GetErrno()
	}
	return 0
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruby_snowflake_client-1.3.7 ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.3.6 ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.3.5 ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.3.4 ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.3.4.pre.debug ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.3.3.pre.debug ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.3.2 ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.3.1 ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.3.0 ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.2.1 ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.2.0 ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.1.1 ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.1.0 ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.0.2 ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.0.1 ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
ruby_snowflake_client-1.0.0 ext/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go