PR target/82855
[official-gcc.git] / libgo / go / os / sys_darwin.go
blob11d678ef18d25382b2977e2d562f5188ee8ddd07
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.
5 package os
7 // supportsCloseOnExec reports whether the platform supports the
8 // O_CLOEXEC flag.
9 // The O_CLOEXEC flag was introduced in OS X 10.7 (Darwin 11.0.0).
10 // See http://support.apple.com/kb/HT1633.
11 const supportsCloseOnExec = true