shithub: snippets

ref: 7192dd8d0b98e7ccddb00dea5be7e4e342e29025
dir: /README.md/

View raw version
# Snippets

Random snippets of code that are in public domain.
Just copy and use for whatever you want.

* `c_builtins*` a few __builtin_* for Plan 9, useful for porting other software
* `lrint.c` lrint* implementation
* `msr.c` MSR reading tool
* `nanosec.c` nanosec(), a replacement for (way more expensive) nsec()
* `qt.[ch]` [QP tries](https://dotat.at/prog/qp/README.html)