GithubHelp home page GithubHelp logo

bryanvalletta / c-utils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gotomain/c-utils

0.0 0.0 0.0 1.27 MB

Tiny, modular, drop-in, library of some most commonly used utility methods for C (embedded) applications. Intended to be used as a git-submodule inside your projects to kickstart development. See https://c-utils.gotomain.io for more details.

Home Page: https://gotomain.io

License: Apache License 2.0

C 98.41% CMake 1.17% Makefile 0.41%

c-utils's Introduction

c-utils

Build CI

This repository hosts some modular, drop-in, C utilities that you can copy into your project and and kick-start your work.

List of utils:

The following methods/utils are available in this repo:

  • arg_parser - Command line argument parsing helper
  • bus_server - A broadcasting IPC server for connected clients
  • channel - A Communication protocol (uart, msgq, tcp, etc.,) abstraction layer
  • circbuf - Generic, lock-free, circular/ring buffer implementation
  • disjoint_set - Disjoint-set library
  • event - Event notifier for multi-threaded applications
  • fdutils - Collection of operations that are commonly performed on unix file descriptors
  • file - Collection of methods that operate on directories, files and paths
  • filo - First-In Last-Out (stack) implementation
  • hashmap - Hashmap/dictionary/map library
  • list - Singly and doubly linked list data library
  • logger - Logging module for C applications with log-levels, colors, and log-to-file features
  • memory - Do-or-die helper methods that allow use of mallloc/calloc/strdups without NULL checks
  • procutils - Linux process manipulation utilities
  • queue - Last-in First-out (queue) implementation
  • serial - Library to interact with uart devices
  • slab - Poor man's slab allocator for dynamic memory without using heap
  • sockutils - Collection of methods that operate on sockets
  • stack - Stack implementation using linked lists
  • strlib - A string_t type and some common methods that operate on them
  • strutils - Commonly used C string utils
  • utils - Other ad-hoc methods that don't fit anywhere else
  • workqueue - Worker thread library that waits for a job to execute

How to use this repo?

You can clone this repo and copy individual files from src/ and link it to your project.

c-utils's People

Contributors

sidcha avatar patrick-compass 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.