...

Source file src/github.com/mdlayher/socket/typ_cloexec_nonblock.go

Documentation: github.com/mdlayher/socket

     1  //go:build !darwin
     2  // +build !darwin
     3  
     4  package socket
     5  
     6  import "golang.org/x/sys/unix"
     7  
     8  const (
     9  	// These operating systems support CLOEXEC and NONBLOCK socket options.
    10  	flagCLOEXEC = true
    11  	socketFlags = unix.SOCK_CLOEXEC | unix.SOCK_NONBLOCK
    12  )
    13  

View as plain text