debian man page for upstr

Query: upstr

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UPSTR(3)						       MBK UTILITY FUNCTIONS							  UPSTR(3)

NAME
upstr - convert a string to upper case
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite 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 upstr(s, t) char *s, *t;
PARAMETERS
s Pointer to the source string t Pointer to the destination string
DESCRIPTION
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.
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 ALSO
mbk(1), downstr(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.
ASIM
/LIP6 October 1, 1997 UPSTR(3)
Related Man Pages
freeptype(3) - debian
naturalstrcmp(3) - debian
freeptype(3) - suse
freechain(3) - centos
freeptype(3) - osx
Similar Topics in the Unix Linux Community
Fetch field to variable