table of contents
| DOWNSTR(3) | MBK UTILITY FUNCTIONS | DOWNSTR(3) |
NAME¶
downstr - convert a string to lower caseORIGIN¶
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS¶
#include "mut.h" void downstr(s, t) char ∗s, ∗t;
PARAMETERS¶
- s
- Pointer to the source string
- t
- Pointer to the destination string
DESCRIPTION¶
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.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 ALSO¶
mbk(1), upstr(3).BUG REPORT¶
This tool is under development at the ASIM department of the LIP6 laboratory.We need your feedback to improve documentation and tools.
| October 1, 1997 | ASIM/LIP6 |