- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for setReadMsgCloseOnExec (0.28 sec)
-
src/net/unixsock_readmsg_other.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build js || wasip1 || windows package net const readMsgFlags = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 275 bytes - Viewed (0) -
src/net/unixsock_readmsg_cmsg_cloexec.go
// 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 332 bytes - Viewed (0) -
src/net/unixsock_readmsg_cloexec.go
// license that can be found in the LICENSE file. //go:build aix || darwin || freebsd || solaris package net import "syscall" const readMsgFlags = 0 func setReadMsgCloseOnExec(oob []byte) { scms, err := syscall.ParseSocketControlMessage(oob) if err != nil { return } for _, scm := range scms {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 654 bytes - Viewed (0) -
src/net/unixsock_posix.go
var sa syscall.Sockaddr n, oobn, flags, sa, err = c.fd.readMsg(b, oob, readMsgFlags) if readMsgFlags == 0 && err == nil && oobn > 0 { setReadMsgCloseOnExec(oob[:oobn]) } switch sa := sa.(type) { case *syscall.SockaddrUnix: if sa.Name != "" { addr = &UnixAddr{Name: sa.Name, Net: sotypeToNet(c.fd.sotype)} } } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:54:32 UTC 2024 - 6.6K bytes - Viewed (0)