equal
deleted
inserted
replaced
1 // Copyright 2019 The Go Authors. All rights reserved. |
1 // Copyright 2019 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style |
2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. |
3 // license that can be found in the LICENSE file. |
4 |
4 |
5 //go:build arm64 && netbsd |
5 //go:build arm64 && netbsd |
6 // +build arm64,netbsd |
|
7 |
6 |
8 package unix |
7 package unix |
9 |
8 |
10 func setTimespec(sec, nsec int64) Timespec { |
9 func setTimespec(sec, nsec int64) Timespec { |
11 return Timespec{Sec: sec, Nsec: nsec} |
10 return Timespec{Sec: sec, Nsec: nsec} |