25 Commits (96ddf4e1dee808d6ae8162fc1a13126a3d4c77dc)

Author SHA1 Message Date
Aaron Marcher 96ddf4e1de Consistency with 80 char limit and breaks 8 years ago
Aaron Marcher b0401b13bb Clean up header includes 8 years ago
Tobias Tschinkowitz 0c29fc56f9 swap: removed unused include 8 years ago
Laslo Hunhold a18439af11 Refactor swap.c to use getline() instead of buf-filling 8 years ago
Laslo Hunhold 7f91ce265e swap.c: Refactor getstats() and its usage 8 years ago
Aaron Marcher 10dbc9543e Merge fmt_human_2 and fmt_human_10 to one function 8 years ago
Aaron Marcher ec5c35ec9f Remove units from numbers 8 years ago
Aaron Marcher 4bd234c7ef swap_perc: check for division by zero on obsd too 8 years ago
Aaron Marcher 806815778f swap_perc: check for division by zero 8 years ago
Laslo Hunhold 46c4540dd2 Implement fmt_human_2() and fmt_human_10() 8 years ago
Aaron Marcher 74c4f4ebda Add the percent sign to *_perc functions 8 years ago
Aaron Marcher 39ee31c242 Implement fmt_scaled for swap_* functions 8 years ago
Laslo Hunhold 80fc20d1d6 Add warn() and die() 8 years ago
Tobias Tschinkowitz c1f79d741a corrected calculation for swap on openbsd 8 years ago
Aaron Marcher ee5ec75621 Fix coding style 8 years ago
Aaron Marcher efb41724b5 swap_*: Port to OpenBSD 8 years ago
Laslo Hunhold 19343ff343 components/swap.c | move duplicated code to separate function 8 years ago
Laslo Hunhold 9750a3d731 Use indentation to increase readability 8 years ago
Laslo Hunhold 42edfea89a Revert component-split 8 years ago
Quentin Rameau 72f5a0d69a swap: OS split 8 years ago
Aaron Marcher faa52bdcc0 Format error messages properly 8 years ago
Aaron Marcher 96f3a8a54e Get rid of err.h as it is not portable 8 years ago
Aaron Marcher e79d4932ea More robust preprocessor switches 8 years ago
Aaron Marcher ebf5a35052 Build Linux-only functions only on Linux 8 years ago
Laslo Hunhold 7246dc4381
Move components into dedicated subdirectory 8 years ago
Aaron Marcher 11d4bec648
Added LICENSE statements to all source files 8 years ago
Aaron Marcher 6820631175
Split into multiple files 8 years ago