mirror of
https://git.suckless.org/slock
synced 2026-10-05 15:13:25 +07:00
55d985a354048e14f408dd731faaf1acbdc277f4
Valid argument of ctype(3) functions must be either EOF or non-negative value within the range representable as unsigned char. Invalid values leads to undefined behavior. Cast all such uses to avoid that. At least in NetBSD 11 ctype(3) abuses will always crash and permit to break slock screen locking.
slock - simple screen locker
============================
simple screen locker utility for X.
Requirements
------------
In order to build slock you need the Xlib header files.
Installation
------------
Edit config.mk to match your local setup (slock is installed into
the /usr/local namespace by default).
Afterwards enter the following command to build and install slock
(if necessary as root):
make clean install
Running slock
-------------
Simply invoke the 'slock' command. To get out of it, enter your password.
Languages
C
79.5%
Makefile
14.4%
Roff
6.1%