141971Sbostic /*- 241971Sbostic * Copyright (c) 1990 The Regents of the University of California. 341971Sbostic * All rights reserved. 441971Sbostic * 541971Sbostic * This code is derived from software contributed to Berkeley by 641971Sbostic * Chris Torek. 741971Sbostic * 841971Sbostic * %sccs.include.redist.c% 941971Sbostic */ 1041971Sbostic 1141971Sbostic #if defined(LIBC_SCCS) && !defined(lint) 12*46144Sbostic static char sccsid[] = "@(#)strcoll.c 5.2 (Berkeley) 01/26/91"; 1341971Sbostic #endif /* LIBC_SCCS and not lint */ 1441971Sbostic 15*46144Sbostic #include <sys/cdefs.h> 1641971Sbostic #include <string.h> 1741971Sbostic 1841971Sbostic /* 1941971Sbostic * Compare strings according to LC_COLLATE category of current locale. 2041971Sbostic */ 2141971Sbostic strcoll(s1, s2) 2241971Sbostic const char *s1, *s2; 2341971Sbostic { 2441971Sbostic /* LC_COLLATE is unimplemented, hence always "C" */ 2541971Sbostic return (strcmp(s1, s2)); 2641971Sbostic } 27