Hi Mikhail,

>  PT> And the strcasecmp (might have typed it wrong) should probably be
>  something
>  PT> more like strcmp.

> : strcasecmp, strncasecmp - compare two strings ignoring case

> Does not look like it does exactly the same thing as strcmp.
usually with MSVC you can define:
#define strncasecmp _strnicmp
#define strcasecmp _stricmp

in MingW32 string.h you can find:
strcasecmp (const char * __sz1, const char * __sz2)
  {return _stricmp (__sz1, __sz2);} 

strncasecmp (const char * __sz1, const char * __sz2, size_t __sizeMaxCompare)
  {return _strnicmp (__sz1, __sz2, __sizeMaxCompare);} 

greetz, Guenter.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to