util.h File Reference

SCEW util functions. More...

#include <expat.h>

Go to the source code of this file.

Functions

XML_Char * scew_strcpy (XML_Char *dst, XML_Char const *src)
XML_Char * scew_strcat (XML_Char *dst, XML_Char const *src)
XML_Char * scew_strncpy (XML_Char *dst, XML_Char const *src, size_t len)
XML_Char * scew_strncat (XML_Char *dst, XML_Char const *src, size_t len)
XML_Char * scew_strdup (XML_Char const *src)
size_t scew_strlen (XML_Char const *src)
int scew_strcmp (XML_Char const *s1, XML_Char const *s2)


Detailed Description

SCEW util functions.

Author:
Aleix Conchillo Flaque <aleix@member.fsf.org>
Date:
Sun Dec 01, 2002 13:05
Id
util.h 139 2003-05-17 13:58:36Z harald

Function Documentation

XML_Char* scew_strcat XML_Char *  dst,
XML_Char const *  src
 

Concatenates source string to destination string. Destination string must have enough space.

int scew_strcmp XML_Char const *  s1,
XML_Char const *  s2
 

Compares two strings. Returns an integer greater than, equal to, or less than 0, according as the string s1 is greater than, equal to, or less than the string s2.

XML_Char* scew_strcpy XML_Char *  dst,
XML_Char const *  src
 

Copies an XML_Char string from source to destination.

XML_Char* scew_strdup XML_Char const *  src  ) 
 

Creates a new copy of the given string. Client must free it.

size_t scew_strlen XML_Char const *  src  ) 
 

Returns the length in characeters of the given string.

XML_Char* scew_strncat XML_Char *  dst,
XML_Char const *  src,
size_t  len
 

Concatenates not more than len characters from source string to destination string. Destination string must have enough space.

XML_Char* scew_strncpy XML_Char *  dst,
XML_Char const *  src,
size_t  len
 

Copies not more than len characters from source to destination.


Generated on Mon Jun 5 10:20:48 2006 for Intelligence.kdevelop by  doxygen 1.4.6