4 static size_t syscall_arg__scnprintf_waitid_options(char *bf
, size_t size
,
5 struct syscall_arg
*arg
)
7 int printed
= 0, options
= arg
->val
;
10 if (options & W##n) { \
11 printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", #n); \
21 printed
+= scnprintf(bf
+ printed
, size
- printed
, "%s%#x", printed
? "|" : "", options
);
26 #define SCA_WAITID_OPTIONS syscall_arg__scnprintf_waitid_options