IM: String Utilities

From IM - An Imaging Tool

String Utilities
[Utilities]


Detailed Description

See im_util.h


Functions

int imStrEqual (const char *str1, const char *str2)
int imStrNLen (const char *str, int max_len)
int imStrCheck (const void *data, int count)

Function Documentation

int imStrEqual (  const char *  str1,
const char *  str2
) 
 

Check if the two strings are equal.

int imStrNLen (  const char *  str,
int  max_len
) 
 

Calculate the size of the string but limited to max_len.

int imStrCheck (  const void *  data,
int  count
) 
 

Check if the data is a string.