msg_copyout
if ((error = msg_copyout(msg, msgp, &msgsz, p)))
int msg_copyout(struct msg *, char *, size_t *, struct proc *);