]> granicus.if.org Git - strace/commit
mmsghdr.c: rewrite decode_mmsgvec using print_array
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 16 Jul 2016 22:04:24 +0000 (22:04 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 19 Jul 2016 17:46:32 +0000 (17:46 +0000)
commit0485ab5e23aa3cbc35d7dff4e55d28c58c25a1be
treed175dec7d9205a98d878c711d173cb04822acecc
parent1c444a75d1f67e5f5df98870cf8f15a86cc4b0a1
mmsghdr.c: rewrite decode_mmsgvec using print_array

* fetch_struct_mmsghdr.c (sizeof_struct_mmsghdr): New mpers printer.
* mmsghdr.c: Include <limits.h>.
(print_struct_mmsghdr_config): New structure.
(fetch_struct_mmsghdr_or_printaddr, print_struct_mmsghdr): New functions.
(decode_mmsgvec): Rewrite using them and print_array.
fetch_struct_mmsghdr.c
mmsghdr.c