Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pyrocat101/kcalc

Arithmetic expression evaluator as pseudo device.
https://github.com/pyrocat101/kcalc

Last synced: about 1 month ago
JSON representation

Arithmetic expression evaluator as pseudo device.

Awesome Lists containing this project

README

        

# KCalc: simple kernel calculator module

## Usage

echo "1 + 1" > /dev/kcalc
cat /dev/kcalc

`write` the pseudo /dev/kcalc device with the expression, then you can get result simply with counterpart system call `read`.

## TODO

* Read/Write lock
* Permission FIX
* Blocked read
* Larger tests