Deleted Added
full compact
strcoll.3 (6537) strcoll.3 (13750)
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Chris Torek and the American National Standards Committee X3,
6.\" on Information Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 39 unchanged lines hidden (view full) ---

48.Sh DESCRIPTION
49The
50.Fn strcoll
51function
52lexicographically compares the null-terminated strings
53.Fa s1
54and
55.Fa s2
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Chris Torek and the American National Standards Committee X3,
6.\" on Information Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 39 unchanged lines hidden (view full) ---

48.Sh DESCRIPTION
49The
50.Fn strcoll
51function
52lexicographically compares the null-terminated strings
53.Fa s1
54and
55.Fa s2
56according to the current locale collation if any, otherwith call
56according to the current locale collation if any, otherwise call
57.Fa strcmp ,
58and returns an integer greater than, equal to, or less than 0,
59according as
60.Fa s1
61is greater than, equal to, or less than
62.Fa s2 .
63.Sh SEE ALSO
64.Xr setlocale 3 ,
65.Xr strcmp 3 ,
66.Xr strxfrm 3
67.Sh STANDARDS
68The
69.Fn strcoll
70function
71conforms to
72.St -ansiC .
57.Fa strcmp ,
58and returns an integer greater than, equal to, or less than 0,
59according as
60.Fa s1
61is greater than, equal to, or less than
62.Fa s2 .
63.Sh SEE ALSO
64.Xr setlocale 3 ,
65.Xr strcmp 3 ,
66.Xr strxfrm 3
67.Sh STANDARDS
68The
69.Fn strcoll
70function
71conforms to
72.St -ansiC .