src/syscall/syscall_solarisonly.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 solaris && !illumos |
| 6 | |
| 7 | package syscall |
| 8 | |
| 9 | // F_DUP2FD_CLOEXEC has different values on Solaris and Illumos. |
| 10 | const F_DUP2FD_CLOEXEC = 0x30 |