delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/28/11:35:01

From: "Mike Evanoff" <evanoffm AT mantech-wva DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: strcoll()
Date: 27 Dec 1997 13:17:20 GMT
Organization: ISPNews http://ispnews.com
Lines: 27
Message-ID: <01bd12e2$b1d6dfc0$4030c7cd@mike-home>
References: <bWLoegW7sFse-pn2-GFp6hshdXtXk AT portD08 DOT Generation DOT NET>
NNTP-Posting-Host: ppp5.mantech-wva.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Yes - I am confused myself.  My interpretation was that it would look for a
match between s1 and s2, where the function prototype is:

	int strcoll(const char *s1, const char *s2);

and return 0 if s1=s2, >0 or <0 depending on s1>s2 or visa versa....


---Mike Evanoff


Gili <NOSPAMsl AT psycode DOT com> wrote in article
<bWLoegW7sFse-pn2-GFp6hshdXtXk AT portD08 DOT Generation DOT NET>...
> Hi,
> 
> 	I read the description for strcoll() and it isn't clear at all. Could
> you please:
> 
> 1) Modify the help in order to explain this command in more detail
> 2) Explain it to me
> 
> 	I refered to the word collate in the dictionary but it still does not
> aid me in understand the purpose of this function. Please provide me 
> with some example source code. Yours truly,
> 
> Gili
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019