msg_copyin
if ((error = msg_copyin(msg, (const char *)SCARG(uap, msgp), msgsz)))
int msg_copyin(struct msg *, const char *, size_t);