summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-02-23 19:51:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-02-23 19:51:47 +0000
commit1d41723f8f18ee107e0be691398db6c76eab5be1 (patch)
treefcc1396034d6d21938741f9a72c8f8db8a90490f
parent72a1c29b0c21321ab981803c96e2242b6f620179 (diff)
Slightly improve wording and punctuation.
-rw-r--r--lib/libc/stdlib/qsort.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/qsort.3 b/lib/libc/stdlib/qsort.3
index d7321a9a81f..6c4eba46bf1 100644
--- a/lib/libc/stdlib/qsort.3
+++ b/lib/libc/stdlib/qsort.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: qsort.3,v 1.8 2001/12/29 02:35:37 miod Exp $
+.\" $OpenBSD: qsort.3,v 1.9 2002/02/23 19:51:46 miod Exp $
.\"
.Dd June 4, 1993
.Dt QSORT 3
@@ -142,8 +142,8 @@ time is O N lg N; its best case is O N.
Normally,
.Fn qsort
is faster than
-.Fn mergesort
-is faster than
+.Fn mergesort ,
+which is faster than
.Fn heapsort .
Memory availability and pre-existing order in the data can make this untrue.
.Sh RETURN VALUES
@@ -169,7 +169,7 @@ functions succeed unless:
.It Bq Er EINVAL
The
.Fa size
-argument is zero, or, the
+argument is zero, or the
.Fa size
argument to
.Fn mergesort