src/runtime/create_file_nounix.go
raw| 1 | // Copyright 2022 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 !unix |
| 6 | |
| 7 | package runtime |
| 8 | |
| 9 | const canCreateFile = false |
| 10 | |
| 11 | func create(name *byte, perm int32) int32 { |
| 12 | throw("unimplemented") |
| 13 | return -1 |
| 14 | } |