|
NAMEdownstr - convert a string to lower case See the file man1/alc_origin.1. SYNOPSIS#include "mut.h" void downstr(s, t) char ∗s, ∗t; PARAMETERSDESCRIPTIONdownstr converts the s string to lower case in t. The space for t must be allocated by the caller, and be at least strlen(s) + 1 long. EXAMPLE
#include "mut.h"
void cmp()
{
char ∗s = "PWET", t[5];
downstr(s, t);
if (strcmp(t, "pwet")) {
fprintf(stderr, "Downstr sucks, man");
EXIT();
}
}
SEE ALSOmbk(1), upstr(3). See the file man1/alc_bug_report.1.
|