1*41971Sbostic /*- 2*41971Sbostic * Copyright (c) 1990 The Regents of the University of California. 3*41971Sbostic * All rights reserved. 4*41971Sbostic * 5*41971Sbostic * This code is derived from software contributed to Berkeley by 6*41971Sbostic * Chris Torek. 7*41971Sbostic * 8*41971Sbostic * %sccs.include.redist.c% 9*41971Sbostic */ 10*41971Sbostic 11*41971Sbostic #if defined(LIBC_SCCS) && !defined(lint) 12*41971Sbostic static char sccsid[] = "@(#)strcoll.c 5.1 (Berkeley) 05/15/90"; 13*41971Sbostic #endif /* LIBC_SCCS and not lint */ 14*41971Sbostic 15*41971Sbostic #include <string.h> 16*41971Sbostic #include <sys/stdc.h> 17*41971Sbostic 18*41971Sbostic /* 19*41971Sbostic * Compare strings according to LC_COLLATE category of current locale. 20*41971Sbostic */ 21*41971Sbostic strcoll(s1, s2) 22*41971Sbostic const char *s1, *s2; 23*41971Sbostic { 24*41971Sbostic /* LC_COLLATE is unimplemented, hence always "C" */ 25*41971Sbostic return (strcmp(s1, s2)); 26*41971Sbostic } 27