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

Sean Young notifications at github.com
Tue Feb 1 12:40:25 UTC 2022


@seanyoung commented on this pull request.



> +	switch (code) {
+	case LIRC_GET_FEATURES:
+		printflags(lirc_features, value, "LIRC_CAN_???");
+		break;
+	case LIRC_GET_SEND_MODE:
+	case LIRC_GET_REC_MODE:
+	case LIRC_SET_SEND_MODE:
+	case LIRC_SET_REC_MODE:
+		printxval(lirc_modes, value, "LIRC_MODE_???");
+		break;
+	default:
+		PRINT_VAL_D(value);
+		break;
+	}

good catch, done

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

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


More information about the Strace-devel mailing list