github.com/wasilibs/wazerox@v0.0.0-20240124024944-4923be63ab5f/internal/sock/sock_unsupported.go (about)

     1  //go:build plan9 || js
     2  
     3  package sock
     4  
     5  // plan9/js doesn't declare these constants
     6  const (
     7  	SHUT_RD = 1 << iota
     8  	SHUT_WR
     9  	SHUT_RDWR = SHUT_RD | SHUT_WR
    10  )