Implement sendmsg() (XCC)