]> granicus.if.org Git - strace/commit
error_prints.h: add *_func_* printing macros
authorEugene Syromiatnikov <esyr@redhat.com>
Fri, 4 Aug 2017 06:03:34 +0000 (08:03 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 13 Dec 2017 00:35:31 +0000 (00:35 +0000)
commit41c5738fe63670106247135d8785c541c0a010ec
tree3d3404986bb0c0ea9991f6ae6a837e4450cea435
parent859bc3444ca932c04c2715194beda6b0b6af55dc
error_prints.h: add *_func_* printing macros

In order to reduce boilerplate for the cases when __func__ is desired
to be printed.

* error_prints.h (error_func_msg, perror_func_msg, debug_func_msg,
debug_func_perror_msg, error_func_msg_and_die, perror_func_msg_and_die):
New macro definitions.
error_prints.h