summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/qsort.3
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2002-02-23 19:51:46 +0000
committermiod <miod@openbsd.org>2002-02-23 19:51:46 +0000
commit8a1138d81c0ad6109b98d33f8c413defd7a510bf (patch)
tree3b789845dc9a252d0cb51709b2f523a5447eaf50 /lib/libc/stdlib/qsort.3
parentAdd a caveat section pointing out that people affecting the return value (diff)
downloadwireguard-openbsd-8a1138d81c0ad6109b98d33f8c413defd7a510bf.tar.xz
wireguard-openbsd-8a1138d81c0ad6109b98d33f8c413defd7a510bf.zip
Slightly improve wording and punctuation.
Diffstat (limited to 'lib/libc/stdlib/qsort.3')
-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