The libufget library allows to access the UF Sparse Matrix Collection from C program. It supports browsing, searching, and downloading matrices by specifying their properties.