diff options
Diffstat (limited to 'src/lib/libc/string/strcoll.3')
| -rw-r--r-- | src/lib/libc/string/strcoll.3 | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/lib/libc/string/strcoll.3 b/src/lib/libc/string/strcoll.3 index 12f73f98f2..62086c79ac 100644 --- a/src/lib/libc/string/strcoll.3 +++ b/src/lib/libc/string/strcoll.3 | |||
| @@ -33,8 +33,7 @@ | |||
| 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 34 | .\" SUCH DAMAGE. | 34 | .\" SUCH DAMAGE. |
| 35 | .\" | 35 | .\" |
| 36 | .\" from: @(#)strcoll.3 5.6 (Berkeley) 6/29/91 | 36 | .\" $OpenBSD: strcoll.3,v 1.4 2003/05/10 06:40:44 jmc Exp $ |
| 37 | .\" $Id: strcoll.3,v 1.1.1.1 1995/10/18 08:42:22 deraadt Exp $ | ||
| 38 | .\" | 37 | .\" |
| 39 | .Dd June 29, 1991 | 38 | .Dd June 29, 1991 |
| 40 | .Dt STRCOLL 3 | 39 | .Dt STRCOLL 3 |
| @@ -49,14 +48,13 @@ | |||
| 49 | .Sh DESCRIPTION | 48 | .Sh DESCRIPTION |
| 50 | The | 49 | The |
| 51 | .Fn strcoll | 50 | .Fn strcoll |
| 52 | function | 51 | function lexicographically compares the null-terminated strings |
| 53 | lexicographically compares the null-terminated strings | ||
| 54 | .Fa s1 | 52 | .Fa s1 |
| 55 | and | 53 | and |
| 56 | .Fa s2 | 54 | .Fa s2 |
| 57 | according to the current locale collation | 55 | according to the current locale collation |
| 58 | and returns an integer greater than, equal to, or less than 0, | 56 | and returns an integer greater than, equal to, or less than 0, |
| 59 | according as | 57 | according to whether |
| 60 | .Fa s1 | 58 | .Fa s1 |
| 61 | is greater than, equal to, or less than | 59 | is greater than, equal to, or less than |
| 62 | .Fa s2 . | 60 | .Fa s2 . |
| @@ -70,6 +68,5 @@ is greater than, equal to, or less than | |||
| 70 | .Sh STANDARDS | 68 | .Sh STANDARDS |
| 71 | The | 69 | The |
| 72 | .Fn strcoll | 70 | .Fn strcoll |
| 73 | function | 71 | function conforms to |
| 74 | conforms to | ||
| 75 | .St -ansiC . | 72 | .St -ansiC . |
