gcc/libgo/go/os/sys_freebsd.go

11 lines
347 B
Go
Raw Normal View History

// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package os
// supportsCloseOnExec reports whether the platform supports the
// O_CLOEXEC flag.
// The O_CLOEXEC flag was introduced in FreeBSD 8.3.
const supportsCloseOnExec bool = true