github.com/pion/dtls/v2@v2.2.12/errors_noerrno.go (about)

     1  // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
     2  // SPDX-License-Identifier: MIT
     3  
     4  //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !nacl && !nacljs && !netbsd && !openbsd && !solaris && !windows
     5  // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!nacl,!nacljs,!netbsd,!openbsd,!solaris,!windows
     6  
     7  // For systems without syscall.Errno.
     8  // Build targets must be inverse of errors_errno.go
     9  
    10  package dtls
    11  
    12  import (
    13  	"os"
    14  )
    15  
    16  func isOpErrorTemporary(err *os.SyscallError) bool {
    17  	return false
    18  }