Black Lives Matter. Support the Equal Justice Initiative.

Source file src/syscall/types_illumos_amd64.go

Documentation: syscall

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

View as plain text