Question: what is ioreg in c?
Answer: show I/O Kit registry The use of the -c, -k, -l, or -n options cause ioreg to show properties for objects that match the specified criteria. ... object which will appear at the root of the tree with -c, -k, or -n . If root matches more than one object, multiple trees will be displayed. -a. Archive the output in XML.