diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-06-29 18:36:25 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-06-29 18:36:25 +0000 |
commit | a6c232271aea12309a16ff09ab3805479f2cd458 (patch) | |
tree | f59a946b0ea15e5edfbd04a167f2aa646f7eb06c /lib/libc/stdlib/radixsort.3 | |
parent | 2c9812a5e42aed1da9bee32d389811387397705c (diff) |
first round of repairs on stdlib
Diffstat (limited to 'lib/libc/stdlib/radixsort.3')
-rw-r--r-- | lib/libc/stdlib/radixsort.3 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/stdlib/radixsort.3 b/lib/libc/stdlib/radixsort.3 index 8b0ea89a0ff..a1a4ee4eabf 100644 --- a/lib/libc/stdlib/radixsort.3 +++ b/lib/libc/stdlib/radixsort.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: radixsort.3,v 1.4 1998/06/15 17:55:08 mickey Exp $ +.\" $OpenBSD: radixsort.3,v 1.5 1999/06/29 18:36:22 aaron Exp $ .\" .Dd January 27, 1994 .Dt RADIXSORT 3 @@ -62,8 +62,7 @@ is denoted by the user-specified value Applications may specify a sort order by providing the .Fa table argument. -If -.Pf non- Dv NULL , +If non-null, .Fa table must reference an array of .Dv UCHAR_MAX @@ -80,7 +79,9 @@ equally, for example, providing a table with the same weights for A-Z as for a-z will result in a case-insensitive sort. If .Fa table -is NULL, the contents of the array are sorted in ascending order +is +.Dv NULL , +the contents of the array are sorted in ascending order according to the .Tn ASCII 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. They take linear time relative to the number of bytes in the strings. .Sh RETURN VALUES Upon successful completion 0 is returned. -Otherwise, \-1 is returned and the global variable +Otherwise, \-1 is returned and the global variable .Va errno is set to indicate the error. .Sh ERRORS |