]> granicus.if.org Git - strace/commit
poll.c: introduce do_ppoll
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 4 May 2019 23:15:52 +0000 (23:15 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 4 May 2019 23:15:52 +0000 (23:15 +0000)
commit67346cbf55e4ed117427c1af3aae628a5daa49f8
tree7226ac70b54941546fa490cef82547dea06cd1f4
parentc90e52e4c5d81277350aa321b59cda8ade3993af
poll.c: introduce do_ppoll

This is going to be used to implement a parser of ppoll_time64 syscall.

* poll.c (decode_poll_exiting): Add sprint_ts argument.
(SYS_FUNC(poll)): Pass sprint_timespec to decode_poll_exiting.
(do_ppoll): New function.
(SYS_FUNC(ppoll)): Turn into a thin wrapper around do_ppoll.
poll.c