]> git.lizzy.rs Git - plan9front.git/commit
qsort: allow usize-sized arrays.
authorOri Bernstein <ori@eigenstate.org>
Wed, 11 Aug 2021 02:27:48 +0000 (02:27 +0000)
committerOri Bernstein <ori@eigenstate.org>
Wed, 11 Aug 2021 02:27:48 +0000 (02:27 +0000)
commita9bccf9e9b1bd408629edaac277f6b3a3a4ab6fb
treef848694591fb38d3d0391b8ce7a59e562fe2419b
parentc6a9c55de7e5d1d510a717cffd42648d249269db
qsort: allow usize-sized arrays.

As part of the transition to 64 bit userspace
APIs, we need to make our libc functions which
take arrays all accept and deal with large sizes.

This does the work for qsort.
sys/src/libc/port/qsort.c