SCARG(&wap, buf) = (void *)SCARG(uap, buf);
SCARG(&wap, buf) = (char *)SCARG(uap, buf);
svr4_sys_pwrite(p, v, retval)	register struct proc *p;	void *v;	register_t *retval;{	struct svr4_sys_pwrite_args *uap = v;	struct sys_lseek_args lap;	struct sys_write_args wap;	int error;	SCARG(&lap, fd) = SCARG(uap, fd);	SCARG(&lap, offset) = SCARG(uap, off);	SCARG(&lap, whence) = SEEK_CUR;	if ((error = sys_lseek(p, &lap, retval)) != 0)		return error;	SCARG(&wap, fd) = SCARG(uap, fd);	SCARG(&wap, buf) = (void *)SCARG(uap, buf);	SCARG(&wap, nbyte) = SCARG(uap, nbyte);	return sys_write(p, &wap, retval);}