[strace/strace] Add lirc ioctl decoding (PR #208)

Sean Young notifications at github.com
Tue Feb 1 11:59:59 UTC 2022


@seanyoung commented on this pull request.



> +		bool needs_or = false;
+		unsigned long i;
+
+		tprintf(", features=");
+
+		for (i = 0; i < ARRAY_SIZE(features); i++) {
+			if (value & features[i].flag) {
+				if (needs_or)
+					tprintf("|");
+				tprintf("%s", features[i].name);
+				needs_or = true;
+			}
+		}

done

-- 
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/pull/208#discussion_r796525137
You are receiving this because you are subscribed to this thread.

Message ID: <strace/strace/pull/208/review/869028128 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20220201/835b3fd6/attachment.htm>


More information about the Strace-devel mailing list