Fix: 64-bit compatibility
[AROS.git] / compiler / stdc / strcoll.c
blobfc54f04f721d5f884717fe9e22a83922602e4d75
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 C99 function strcoll().
6 */
8 /*****************************************************************************
10 NAME */
11 #include <string.h>
13 int strcoll (
15 /* SYNOPSIS */
16 const char * str1,
17 const char * str2)
19 /* FUNCTION
20 Calculate str1 - str2. The operation is based on strings interpreted
21 as appropriate for the program's current locale for category LC_COLLATE.
23 INPUTS
24 str1, str2 - Strings to compare
26 RESULT
27 The difference of the strings. The difference is 0, if both are
28 equal, < 0 if str1 < str2 and > 0 if str1 > str2. Note that
29 it may be greater then 1 or less than -1.
31 NOTES
32 stdc.library only implements "C" locale so strcoll() is equivalent
33 to strcmp()
35 EXAMPLE
37 BUGS
39 SEE ALSO
41 INTERNALS
43 ******************************************************************************/
45 return strcmp(str1, str2);
46 } /* strcoll */