1
0
Fork
You've already forked sia
0
Simple C utilities, single-header library
  • C 97%
  • Shell 3%
Find a file
2026年06月04日 17:47:23 +03:00
crun init 2026年06月03日 22:11:55 +03:00
README.md renamed sc.h to sia 2026年06月04日 17:47:23 +03:00
sia.h renamed sc.h to sia 2026年06月04日 17:47:23 +03:00

Sia - Simple C utilities

This library is primarily indended to be used with C23, use it for the best experience.

Usage

#include <stdio.h>#define SIA_IMPLEMENTATION
#include "sia.h"
int main(int argc, char **argv)
{
	unused(argc), unused(argv);
	Cmd cmd = {0};
	cmd_append(&cmd, "echo", "Hello, World!");
	cmd_run(&cmd);
	return 0;
}

Crun

A script that allows runnig c programs as scripts, with gcc and clang.

Install crun into your PATH, put this shebang at the top of a c file and give it executable permisions.

#/usr/bin/env crun