mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 21:28:21 +00:00
syscalls: fix for os-test
This commit is contained in:
@@ -6,9 +6,11 @@
|
||||
#include <kernel/alloc.h>
|
||||
|
||||
syscallret_t syscall_sendmsg(context_t *, int fd, msghdr_t *umsghdr, int flags) {
|
||||
__assert((flags & ~MSG_NOSIGNAL) == 0);
|
||||
syscallret_t ret;
|
||||
|
||||
if (flags & ~MSG_NOSIGNAL)
|
||||
printf("sendmsg: unknown %x\n", flags);
|
||||
|
||||
msghdr_t msghdr;
|
||||
ret.errno = sock_copymsghdr(&msghdr, umsghdr);
|
||||
if (ret.errno)
|
||||
|
||||
Reference in New Issue
Block a user