You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Laslo Hunhold 80fc20d1d6 Add warn() and die()
Given slstatus is a tool that runs in the background, most likely run
from .xinitrc, it's important to prepend the name of the tool to error
messages so it becomes clear where the error is coming from.

To make this much more consistent, this commit adds warn() and die()
utility functions consistent with other suckless projects and adapts all
calls to fprintf(stderr, *) to the warn() and die() functions, greatly
increasing the readability of the code.
8 years ago
..
battery.c Add warn() and die() 8 years ago
cpu.c Add warn() and die() 8 years ago
datetime.c Add warn() and die() 8 years ago
disk.c Add warn() and die() 8 years ago
entropy.c entropy: Small fix 8 years ago
hostname.c Add warn() and die() 8 years ago
ip.c Add warn() and die() 8 years ago
kernel_release.c Add warn() and die() 8 years ago
keyboard_indicators.c Add warn() and die() 8 years ago
load_avg.c Add warn() and die() 8 years ago
num_files.c Add warn() and die() 8 years ago
ram.c consistent calculation of ram_* on openbsd 8 years ago
run_command.c Add warn() and die() 8 years ago
swap.c Add warn() and die() 8 years ago
temperature.c Add warn() and die() 8 years ago
uptime.c Add warn() and die() 8 years ago
user.c Add warn() and die() 8 years ago
volume.c Add warn() and die() 8 years ago
wifi.c Add warn() and die() 8 years ago