github.com/tetratelabs/wazero@v1.2.1/internal/sysfs/chown_unsupported.go (about)

     1  //go:build windows
     2  
     3  package sysfs
     4  
     5  import "syscall"
     6  
     7  // fchown is not supported on windows. For example, syscall.Fchown returns
     8  // syscall.EWINDOWS, which is the same as syscall.ENOSYS.
     9  func fchown(fd uintptr, uid, gid int) syscall.Errno {
    10  	return syscall.ENOSYS
    11  }