xref: /csrg-svn/lib/libc/string/strcoll.c (revision 61193)
141971Sbostic /*-
2*61193Sbostic  * Copyright (c) 1990, 1993
3*61193Sbostic  *	The Regents of the University of California.  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*61193Sbostic static char sccsid[] = "@(#)strcoll.c	8.1 (Berkeley) 06/04/93";
1341971Sbostic #endif /* LIBC_SCCS and not lint */
1441971Sbostic 
1546144Sbostic #include <sys/cdefs.h>
1641971Sbostic #include <string.h>
1741971Sbostic 
1841971Sbostic /*
1941971Sbostic  * Compare strings according to LC_COLLATE category of current locale.
2041971Sbostic  */
2156416Sbostic int
strcoll(s1,s2)2241971Sbostic strcoll(s1, s2)
2341971Sbostic 	const char *s1, *s2;
2441971Sbostic {
2541971Sbostic 	/* LC_COLLATE is unimplemented, hence always "C" */
2641971Sbostic 	return (strcmp(s1, s2));
2741971Sbostic }
28