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