Browse Source

Two functions can return errors here, not just one.

OPENBSD_3_1
miod 23 years ago
parent
commit
f782f2c5fe
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/lib/libc/stdlib/qsort.3

+ 4
- 2
src/lib/libc/stdlib/qsort.3 View File

@ -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


Loading…
Cancel
Save