Wait. Is that really related to suckless.org? I've just checked that suckless.org Unix tools are called "9base", not "Sbase", and is different code. Could someone explain that?
http://git.suckless.org/9base/tree/cal/cal.c http://git.2f30.org/sbase/tree/cal.c