Files
wazero/internal/platform/chown_unix.go
Crypt Keeper b742c7a8cc gojs: implements chown (#1204)
This finishes the last remaining syscalls in `GOOS=js`. After this is
merged, further bugs are easier to hunt down as we know ENOSYS is not
expected on writeable file systems.

Signed-off-by: Adrian Cole <adrian@tetrate.io>
2023-03-06 17:43:46 +08:00

10 lines
147 B
Go

//go:build !windows
package platform
import "syscall"
func fchown(fd uintptr, uid, gid int) error {
return syscall.Fchown(int(fd), uid, gid)
}