diff options
Diffstat (limited to 'src/lib/libc/stdlib/radixsort.3')
-rw-r--r-- | src/lib/libc/stdlib/radixsort.3 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/libc/stdlib/radixsort.3 b/src/lib/libc/stdlib/radixsort.3 index 8b0ea89a0f..a1a4ee4eab 100644 --- a/src/lib/libc/stdlib/radixsort.3 +++ b/src/lib/libc/stdlib/radixsort.3 | |||
@@ -29,7 +29,7 @@ | |||
29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
31 | .\" | 31 | .\" |
32 | .\" $OpenBSD: radixsort.3,v 1.4 1998/06/15 17:55:08 mickey Exp $ | 32 | .\" $OpenBSD: radixsort.3,v 1.5 1999/06/29 18:36:22 aaron Exp $ |
33 | .\" | 33 | .\" |
34 | .Dd January 27, 1994 | 34 | .Dd January 27, 1994 |
35 | .Dt RADIXSORT 3 | 35 | .Dt RADIXSORT 3 |
@@ -62,8 +62,7 @@ is denoted by the user-specified value | |||
62 | Applications may specify a sort order by providing the | 62 | Applications may specify a sort order by providing the |
63 | .Fa table | 63 | .Fa table |
64 | argument. | 64 | argument. |
65 | If | 65 | If non-null, |
66 | .Pf non- Dv NULL , | ||
67 | .Fa table | 66 | .Fa table |
68 | must reference an array of | 67 | must reference an array of |
69 | .Dv UCHAR_MAX | 68 | .Dv UCHAR_MAX |
@@ -80,7 +79,9 @@ equally, for example, providing a table with the same weights | |||
80 | for A-Z as for a-z will result in a case-insensitive sort. | 79 | for A-Z as for a-z will result in a case-insensitive sort. |
81 | If | 80 | If |
82 | .Fa table | 81 | .Fa table |
83 | is NULL, the contents of the array are sorted in ascending order | 82 | is |
83 | .Dv NULL , | ||
84 | the contents of the array are sorted in ascending order | ||
84 | according to the | 85 | according to the |
85 | .Tn ASCII | 86 | .Tn ASCII |
86 | order of the byte strings they reference and | 87 | order of the byte strings they reference and |
@@ -106,7 +107,7 @@ particular, see D.E. Knuth's Algorithm R and section 5.2.5, exercise 10. | |||
106 | They take linear time relative to the number of bytes in the strings. | 107 | They take linear time relative to the number of bytes in the strings. |
107 | .Sh RETURN VALUES | 108 | .Sh RETURN VALUES |
108 | Upon successful completion 0 is returned. | 109 | Upon successful completion 0 is returned. |
109 | Otherwise, \-1 is returned and the global variable | 110 | Otherwise, \-1 is returned and the global variable |
110 | .Va errno | 111 | .Va errno |
111 | is set to indicate the error. | 112 | is set to indicate the error. |
112 | .Sh ERRORS | 113 | .Sh ERRORS |