GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - osdp-dev/c-utils: 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.

BranchesTags
Open more actions menu

Latest commit

 

History

244 Commits
244 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
include/utils
include/utils
 
 
src
src
 
 
tests
tests
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 

Repository files navigation

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.

About

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.

osdp.dev

Topics

cembededhelper-functionshelpers-librarylibraryutilityutility-library

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

168 stars

Watchers

9 watching

Forks

80 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.