src/syscall/types_illumos_amd64.go
raw| 1 | // Copyright 2020 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 illumos |
| 6 | |
| 7 | // Illumos consts not present on Solaris. These are added manually rather than |
| 8 | // auto-generated by mkerror.sh |
| 9 | |
| 10 | package syscall |
| 11 | |
| 12 | const ( |
| 13 | LOCK_EX = 0x2 |
| 14 | LOCK_NB = 0x4 |
| 15 | LOCK_SH = 0x1 |
| 16 | LOCK_UN = 0x8 |
| 17 | ) |