summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2001-12-29 02:35:37 +0000
committermiod <miod@openbsd.org>2001-12-29 02:35:37 +0000
commit16322fb9d63caf2593c9df9e2624c75863ced765 (patch)
tree36ccd62e15229f4f9db7cc4c8959463fc62f31fa /lib/libc
parentforgotten xid setting for additional domains; gregs@agilestorage.com, pr 2282 (diff)
downloadwireguard-openbsd-16322fb9d63caf2593c9df9e2624c75863ced765.tar.xz
wireguard-openbsd-16322fb9d63caf2593c9df9e2624c75863ced765.zip
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