unixsock_readmsg_cmsg_cloexec.go 332 B

12345678910111213
  1. // Copyright 2021 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. //go:build dragonfly || linux || netbsd || openbsd
  5. package net
  6. import "syscall"
  7. const readMsgFlags = syscall.MSG_CMSG_CLOEXEC
  8. func setReadMsgCloseOnExec(oob []byte) {}