wrap.c
tmi2_fluffos_v2/lib/adm/simul_efun/wrap.c · 157 B
From the archive tmi2_fluffos_v2.zip
Download the archive « Back to the archive contents
#define SZ 75
varargs string wrap(string str, int width) {
if (!width) return sprintf("%-=*s\n", SZ, str);
else return sprintf("%-=*s\n", width, str);
}