oflib is a library designed to make the parsing of POWER and SPARC device-tree's (OpenFirmware) simple and fast. . It is useful for querying the hardware of the current system in applications for Apple, IBM and SUN machines. . Example applications are included to show some of its capabilities.