NonStop SOAP 4.1 User's Manual
env
is an input parameter and is a pointer to the environment structure. It cannot have a NULL
value.
Return Values:
This function returns the new string.
The axutil_strcmp()Function
Synopsis:
AXIS2_EXTERN int axutil_strcmp
(const axis2_char_t *s1,
const axis2_char_t *s2)
Description:
This function compares the strings passed to it.
Parameters:
s1
is the first string passed to the function.
s2
is the second string passed to the function.
Return Values:
• The function returns zero if the two strings are identical.
• The function returns a non-zero integer if the two strings are different.
The axutil_strncmp()Function
Synopsis:
AXIS2_EXTERN int axutil_strncmp
(const axis2_char_t *s1,
const axis2_char_t *s2, int n)
Description:
This function compares the first n characters of a string in the memory.
Parameters:
s1
is the first string passed to the function.
s2
is the second string passed to the function.
n
is the number of characters to be compared.
Return Values:
• The function returns zero if the two strings are identical.
• The function returns a non-zero integer if the two strings are different.
The axutil_strlen()Function
Synopsis:
AXIS2_EXTERN axis2_ssize_t axutil_strlen
(const axis2_char_t *s)
Description:
This function gets the length of the string passed to it .
Utilities 381










