diff options
| author | fair <fair@NetBSD.org> | 2001-03-16 07:47:29 +0000 |
|---|---|---|
| committer | fair <fair@NetBSD.org> | 2001-03-16 07:47:29 +0000 |
| commit | 0b6f0115355bd5dc3700658d4f2d2c1930848b30 (patch) | |
| tree | af70ad06735b979bbc00e7fb7b51da5dc12bf7ba /lib | |
| parent | 802ed4d55c28592f3a2f132d1de483209aebaab0 (diff) | |
Add documentation of nmemb parameter, per PR 10567
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/stdlib/radixsort.3 | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lib/libc/stdlib/radixsort.3 b/lib/libc/stdlib/radixsort.3 index 2b94b90ec0e..5529c7cfdf9 100644 --- a/lib/libc/stdlib/radixsort.3 +++ b/lib/libc/stdlib/radixsort.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: radixsort.3,v 1.8 2001/01/12 19:23:11 jdolecek Exp $ +.\" $NetBSD: radixsort.3,v 1.9 2001/03/16 07:47:29 fair Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -56,10 +56,13 @@ and 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 +.Fa nmemb +element array of pointers to byte strings, with +the initial member of which is referenced by .Fa base . -The byte strings may contain any values. End of strings is denoted +The byte strings may contain any values. +End of strings is denoted by character which has same weight as user specified value .Fa endbyte . .Fa endbyte @@ -69,7 +72,7 @@ Applications may specify a sort order by providing the .Fa table argument. If -.Pf non- Dv NULL , +.Pf non- Dv NULL , .Fa table must reference an array of .Dv UCHAR_MAX @@ -112,7 +115,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 |
