summaryrefslogtreecommitdiff
path: root/src/network/sendmsg.c
AgeCommit message (Collapse)AuthorLines
2011-04-08workaround broken msghdr struct on 64bit linuxRich Felker-0/+9
POSIX clearly specifies the type of msg_iovlen and msg_controllen, and Linux ignores it and makes them both size_t instead. to work around this we add padding (instead of just using the wrong types like glibc does), but we also need to patch-up the struct before passing it to the kernel in case the caller did not zero-fill it. if i could trust the kernel to just ignore the upper 32 bits, this would not be necessary, but i don't think it will ignore them...
2011-02-15cleanup socketcall syscall interface to ease porting to sane(r) archsRich Felker-3/+1
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+14