downstr − convert a string to lower case
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 AT asim DOT lip6 DOT fr
#include "mut.h"
void downstr(s, t)
char ∗s, ∗t;
s |
Pointer to the source string |
|||
t |
Pointer to the destination string |
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(); |
|||
} |
}
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.