summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-12-29 02:35:38 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-12-29 02:35:38 +0000
commit254b1426b28eed3fd0ff6778f5f739c68a3818d6 (patch)
tree55e9371fff0bd60786d6774e25e575446ce6f7b2 /lib/libc
parentc5fe87cdee8686e33133e854b1c6f162d9b5674f (diff)
Two functions can return errors here, not just one.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/qsort.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/stdlib/qsort.3 b/lib/libc/stdlib/qsort.3
index 7b130c39842..d7321a9a81f 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.7 2001/10/29 18:10:49 deraadt Exp $
+.\" $OpenBSD: qsort.3,v 1.8 2001/12/29 02:35:37 miod Exp $
.\"
.Dd June 4, 1993
.Dt QSORT 3
@@ -162,7 +162,9 @@ is set to indicate the error.
.Sh ERRORS
The
.Fn heapsort
-function succeeds unless:
+and
+.Fn mergesort
+functions succeed unless:
.Bl -tag -width Er
.It Bq Er EINVAL
The