aboutsummaryrefslogtreecommitdiff
path: root/src/net/unixsock_readmsg_cmsg_cloexec.go
blob: 6b0de875ad5c3f1cca2d50c84c7af60c5f23087f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2021 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.

//go:build dragonfly || linux || netbsd || openbsd

package net

import "syscall"

const readMsgFlags = syscall.MSG_CMSG_CLOEXEC

func setReadMsgCloseOnExec(oob []byte) {}