1 // SPDX-License-Identifier: LGPL-2.1
4 static size_t syscall_arg__scnprintf_signum(char *bf
, size_t size
, struct syscall_arg
*arg
)
6 bool show_prefix
= arg
->show_string_prefix
;
7 const char *prefix
= "SIG";
11 #define P_SIGNUM(n) case SIG##n: return scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", #n)
54 return scnprintf(bf
, size
, "%#x", sig
);
57 #define SCA_SIGNUM syscall_arg__scnprintf_signum