summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormiod <>2001-12-29 02:35:37 +0000
committermiod <>2001-12-29 02:35:37 +0000
commit229de2018e42a072d4b9cb832226bafeb9881227 (patch)
tree202c34ae0e218831d763823e8c24fb7152ccd33c /src
parent5113c8e6a6936c63d34f37486bd327f6f439209f (diff)
downloadopenbsd-229de2018e42a072d4b9cb832226bafeb9881227.tar.gz
openbsd-229de2018e42a072d4b9cb832226bafeb9881227.tar.bz2
openbsd-229de2018e42a072d4b9cb832226bafeb9881227.zip
Two functions can return errors here, not just one.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/stdlib/qsort.36
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/qsort.3 b/src/lib/libc/stdlib/qsort.3
index 7b130c3984..d7321a9a81 100644
--- a/src/lib/libc/stdlib/qsort.3
+++ b/src/lib/libc/stdlib/qsort.3
@@ -33,7 +33,7 @@
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE. 34.\" SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: qsort.3,v 1.7 2001/10/29 18:10:49 deraadt Exp $ 36.\" $OpenBSD: qsort.3,v 1.8 2001/12/29 02:35:37 miod Exp $
37.\" 37.\"
38.Dd June 4, 1993 38.Dd June 4, 1993
39.Dt QSORT 3 39.Dt QSORT 3
@@ -162,7 +162,9 @@ is set to indicate the error.
162.Sh ERRORS 162.Sh ERRORS
163The 163The
164.Fn heapsort 164.Fn heapsort
165function succeeds unless: 165and
166.Fn mergesort
167functions succeed unless:
166.Bl -tag -width Er 168.Bl -tag -width Er
167.It Bq Er EINVAL 169.It Bq Er EINVAL
168The 170The