1 // Copyright 2014 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 aix || darwin || dragonfly || freebsd || (js && wasm) || netbsd || openbsd || solaris 6 // +build aix darwin dragonfly freebsd js,wasm netbsd openbsd solaris 7 8 package os 9 10 // According to sticky(8), neither open(2) nor mkdir(2) will create 11 // a file with the sticky bit set. 12 const supportsCreateWithStickyBit = false 13