DOKK / manpages / debian 10 / alliance / upstr.3.en
UPSTR(3) MBK UTILITY FUNCTIONS UPSTR(3)

upstr - convert a string to upper case

See the file buster/alliance/alc_origin.1.en.gz.

#include "mut.h"
void upstr(s, t)
char ∗s, ∗t;

Pointer to the source string
Pointer to the destination string

upstr converts the s string to upper 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];
	upstr(s, t);
	if (strcmp(t, "PWET")) {
		fprintf(stderr, "Upstr sucks, man");
		EXIT();
	}
}

mbk(1), downstr(3).

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6