| DOWNSTR(3) | MBK UTILITY FUNCTIONS | DOWNSTR(3) | 
downstr - convert a string to lower case
See the file buster/alliance/alc_origin.1.en.gz.
#include "mut.h" void downstr(s, t) char ∗s, ∗t;
downstr 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.
#include "mut.h"
void cmp()
{
char ∗s = "PWET", t[5];
	downstr(s, t);
	if (strcmp(t, "pwet")) {
		fprintf(stderr, "Downstr sucks, man");
		EXIT();
	}
}
See the file buster/alliance/alc_bug_report.1.en.gz.
| October 1, 1997 | ASIM/LIP6 |