Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

41
cde/lib/DtSearch/strupr.c Normal file
View File

@@ -0,0 +1,41 @@
/*
* COMPONENT_NAME: austext
*
* FUNCTIONS: strupr
*
* ORIGINS: 27
*
*
* (C) COPYRIGHT International Business Machines Corp. 1992,1995
* All Rights Reserved
* Licensed Materials - Property of IBM
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*/
/******************************* STRUPR.C ***************************
* $XConsortium: strupr.c /main/3 1996/05/07 13:48:29 drk $
* String function that converts all chars to uppercase.
* Same as DOS function with same name. Formerly in fzansi.c.
*
* $Log$
* Revision 2.2 1995/10/26 14:31:18 miker
* Added prolog.
*
* Revision 2.1 1995/09/22 22:10:39 miker
* Freeze DtSearch 0.1, AusText 2.1.8
*
* Revision 1.1 1995/09/05 17:50:11 miker
* Initial revision
*/
#include <ctype.h>
char *strupr (char *s)
{
char *t = s;
while (*t != 0) {
*t = toupper(*t);
t++;
}
return s;
}