From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: strcoll() Date: Sat, 27 Dec 1997 13:15:11 -0800 Organization: Alcyone Systems Lines: 21 Message-ID: <34A56FDF.5C3576E3@alcyone.com> References: <01bd12e2$b1d6dfc0$4030c7cd AT mike-home> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Mike Evanoff wrote: > 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.... Correct. strcoll does the exactly analogous thing that strcmp does, except strcoll is sensitive to the current "locale." strcmp merely does an ASCII compare. -- Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com Alcyone Systems / http://www.alcyone.com/max/ San Jose, California, United States / icbm://+37.20.07/-121.53.38 \ "Life may be / the product of imperfections." / (Marclo Gleiser)