strings.h
Package: WA2L/edrc 1.5.57
Section: WA2L C Programmer's Manual (3)
Updated: 27 June 2024
Index
Return to Main Contents
NAME
strupr, strlwr - additional string functions
SYNOPSIS
#include "strings.h"
char *strupr(char *string);
char *strlwr(char *string);
AVAILABILITY
WA2L/edrc
DESCRIPTION
strings.h
provides additional string functions not provided in
<string.h>.
strupr()
return provided string in upper case.
Example:
printf("upper case string: '%s'\n", strupr("a String to be converted"));
Output:
upper case string: 'A STRING TO BE CONVERTED'
strlwr()
return provided string in lower case.
Example:
printf("lower case string: '%s'\n", strlwr("a String to be converted"));
Output:
lower case string: 'a string to be converted'
RETURN VALUE
the return value of
strupr()
and
strlwr()
is
a pointer to the converted variant of the given string.
ENVIRONMENT
-
FILES
- lib/$OSID/includes/strings.h
-
EXAMPLES
-
SEE ALSO
edrcintro(1),
https://www.gnu.org/software/gnu-c-manual/gnu-c-manual.html,
checkopt.h(3),
osid(3),
program.h(3),
utility.h(3),
wa2lc(3)
NOTES
-
BUGS
-
AUTHOR
strings.h was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2024
Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 16:54:32 GMT, August 28, 2024