github.com/goplusjs/gopherjs@v1.2.6-0.20211206034512-f187917453b8/compiler/natives/src/internal/syscall/unix/unix.go (about)

     1  // +build js
     2  
     3  package unix
     4  
     5  const (
     6  	randomTrap                = 0
     7  	fstatatTrap               = 0
     8  	getrandomTrap     uintptr = 0
     9  	copyFileRangeTrap uintptr = 0
    10  )
    11  
    12  func IsNonblock(fd int) (nonblocking bool, err error) {
    13  	return false, nil
    14  }