summaryrefslogtreecommitdiff
path: root/src/network/recvmmsg.c
AgeCommit message (Collapse)AuthorFilesLines
2019-07-29recvmmsg: add time64 syscall support, decouple 32-bit time_tRich Felker1-0/+18
the time64 syscall is used only if the timeout does not fit in 32 bits. after preprocessing, the code is unchanged on 64-bit archs. for 32-bit archs, the timeout now goes through an intermediate copy, meaning that the caller does not get back the updated timeout. this is based on my reading of the documentation, which does not document the updating as a contract you can rely on, and mentions that the whole recvmmsg timeout mechanism is buggy and unlikely to be useful. if it turns out that there's interest in making the remaining time officially available to callers, such functionality could be added back later.
2014-06-19implement sendmmsg and recvmmsgRich Felker1-0/+15
these are not pure syscall wrappers because they have to work around kernel API bugs on 64-bit archs. the workarounds could probably be made somewhat more efficient, but at the cost of more complexity. this may be revisited later.