File: iniToUpper.c

package info (click to toggle)
unixodbc 2.3.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,888 kB
  • sloc: ansic: 87,605; makefile: 1,127; sh: 1,060; yacc: 974; sql: 1
file content (27 lines) | stat: -rw-r--r-- 629 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**********************************************************************************
 * .
 * 
 *
 **************************************************
 * This code was created by Peter Harvey @ CodeByDesign. 
 * Released under LGPL 28.JAN.99
 *
 * Contributions from...
 * -----------------------------------------------
 * Peter Harvey		- pharvey@codebydesign.com
 **************************************************/

#include <config.h>
#include "ini.h"

int iniToUpper( char *pszString )
{
	int n = 0;

	for ( n = 0; pszString[n] != '\0'; n++ )
		pszString[n] = toupper((unsigned char)pszString[n]);

    return INI_SUCCESS;
}