]> granicus.if.org Git - strace/commit
util: provide information whether xlat value has been found
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sun, 27 Nov 2016 15:04:58 +0000 (18:04 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 29 Nov 2016 00:23:13 +0000 (00:23 +0000)
commita938b441d687add1f3f306e9a045edec8f9b478c
tree20d544a769dc8bb160d0dbdc85a6ab4e196ee7cf
parentc1271b7341412f2f51d7eeda127bcd1adbe2d8a6
util: provide information whether xlat value has been found

This is necessary for the upcoming change in the output format
of the val3 argument of the FUTEX_WAKE_OP futex command.

* defs.h (printxvals, printxval_searchn): Change return type to int.
(printxval64, printxval, printxval_long): Likewise.  Forward the value
returned by printxvals call.
* util.c (printxvals, printxval_searchn): Change return type to int,
return 1 if xlat value has been found, 0 otherwise.
defs.h
util.c