With truncate() the OS might not actually allocate the space leading to a SIGBUS if /dev/shm runs out of space when actually using the mmap. By using fallocate we ensure that once the SHM mmap is created it wont fail |
||
|---|---|---|
| .. | ||
| cli | ||
| cmd | ||
| config | ||
| crypto | ||
| rsync | ||
| themes | ||
| tty | ||
| tui | ||
| unicode_names | ||
| utils | ||
| wcswidth | ||
| README.rst | ||
This folder contains library and utility code for the various "kittens". Small terminal programs compiled statically for doing things like kitty remote control, icat etc. These are often re-implementations of earlier kittens that were written in Python.