From 55c9a7cd7c411316ecc436e7422e8dbfa9997996 Mon Sep 17 00:00:00 2001 From: pjanzen <> Date: Mon, 12 May 2003 07:15:15 +0000 Subject: Ideas from NetBSD: document nmemb and include sradixsort in the NAME section. Also, stomp a comma splice. --- src/lib/libc/stdlib/radixsort.3 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libc/stdlib/radixsort.3 b/src/lib/libc/stdlib/radixsort.3 index f70990fa8e..1fec983727 100644 --- a/src/lib/libc/stdlib/radixsort.3 +++ b/src/lib/libc/stdlib/radixsort.3 @@ -29,13 +29,14 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: radixsort.3,v 1.7 2001/08/06 10:42:26 mpech Exp $ +.\" $OpenBSD: radixsort.3,v 1.8 2003/05/12 07:15:15 pjanzen Exp $ .\" .Dd January 27, 1994 .Dt RADIXSORT 3 .Os .Sh NAME -.Nm radixsort +.Nm radixsort , +.Nm sradixsort .Nd radix sort .Sh SYNOPSIS .Fd #include @@ -51,8 +52,10 @@ and .Fn sradixsort functions are implementations of radix sort. .Pp -These functions sort an array of pointers to byte strings, the initial -member of which is referenced by +These functions sort an array of +.Fa nmemb +pointers to byte strings. +The initial member is referenced by .Fa base . The byte strings may contain any values; the end of each string is denoted by the user-specified value @@ -86,7 +89,7 @@ has a sorting weight of 0. .Pp The .Fn sradixsort -function is stable, that is, if two elements compare as equal, their +function is stable; that is, if two elements compare as equal, their order in the sorted array is unchanged. The .Fn sradixsort -- cgit v1.2.3-55-g6feb