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>
10 lines
147 B
Go
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)
|
|
}
|