00001 /* 00002 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. 00003 * See the copyright notice in the ACK home directory, in the file "Copyright". 00004 */ 00005 /* $Header$ */ 00006 00007 #include <string.h> 00008 00009 int 00010 strcoll(register const char *s1, register const char *s2) 00011 { 00012 while (*s1 == *s2++) { 00013 if (*s1++ == '\0') { 00014 return 0; 00015 } 00016 } 00017 return *s1 - *--s2; 00018 }
1.5.8