]> granicus.if.org Git - strace/commit
util: add printing helper for sorted xlat arrays
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sat, 29 Oct 2016 02:26:50 +0000 (05:26 +0300)
committerEugene Syromyatnikov <evgsyr@gmail.com>
Sun, 30 Oct 2016 21:49:28 +0000 (00:49 +0300)
commitcdf0885fe033ce345aae23ed90a3cac0b19d3039
treee755cb2835ae0d66451424279efc872d24dc6075
parent48252db2a25ebf891131dafdbb1b68ded8f47947
util: add printing helper for sorted xlat arrays

* util.c (printxval_searchn): New function.
* defs.h (printxval_searchn): New prototype.
(printxval_search): New helper macro useful in conjunction with static
xlat arrays.
defs.h
util.c