|
NAMEupstr - convert a string to upper case See the file man1/alc_origin.1. SYNOPSIS#include "mut.h" void upstr(s, t) char ∗s, ∗t; PARAMETERSDESCRIPTIONupstr 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. EXAMPLE
#include "mut.h"
void cmp()
{
char ∗s = "pwet", t[5];
upstr(s, t);
if (strcmp(t, "PWET")) {
fprintf(stderr, "Upstr sucks, man");
EXIT();
}
}
SEE ALSOmbk(1), downstr(3). See the file man1/alc_bug_report.1.
|