GithubHelp home page GithubHelp logo

devendranaga / libsysapi Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 674 KB

System level APIs for easy systems programming

License: GNU General Public License v2.0

Makefile 1.27% C 95.05% Python 2.19% C++ 1.48%

libsysapi's Introduction

Build Status codecov

libsysapi (project moved to edgemw

System level APIs to make systems programming simpler.

The library (as of now) provides the following features:

  1. Event based function calling mechanism with select
  2. Hash tables, Lists, Doubly linked list, Circular Queues, Stacks and Queues as simple but efficient API.
  3. File systems interface API, directory list, directory walk (dir in a dir), file read, simple ramfs and some file level API for general purpose file manipulation.
  4. Memory controller / accountant (A very simple and basic) that helps restrict your program's memory usage.
  5. Network device / interface handling API.
  6. Process file system (/proc) API for proc file manipulation for statistics / poll based monitoring applications.
  7. Time APIs (very basic and needs more work)
  8. Utilities: Printf (but colored output depending on the log level/ priority), daemonizing API (so that you don't have to remember how to setup a daemon), random number and string generators, tty and finding what arch you are running APIs.
  9. Basic Threadpools implementation. One thread per work only. Plans for moving to one thread doing multiple work and still supporting multiple threads doing multiples of work..

For more details about my future works.. please have a look at the TODO file in the repository.

The library only uses pthreads (the pthread support can be hidden via a macro but that disables the event looping).

When you are using this library use it with -lsysapi and -pthread option.

Please note that the library is "not" well tested and it is still in its pre-matured stage.

libsysapi's People

Contributors

bitdeli-chef avatar devendranaga avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.