src/syscall/time_nofake.go
raw| 1 | // Copyright 2019 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 | //go:build !faketime |
| 6 | |
| 7 | package syscall |
| 8 | |
| 9 | const faketime = false |
| 10 | |
| 11 | func faketimeWrite(fd int, p []byte) int { |
| 12 | // This should never be called since faketime is false. |
| 13 | panic("not implemented") |
| 14 | } |