a base c library (wrapped linux api and some util library)