Linux Manual Pages development
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: David <davidhu0903ex3@gmail.com>
Cc: linux-man@vger.kernel.org
Subject: Re: man-pages bug report: qsort.3
Date: Wed, 21 Oct 2026 13:23:02 +0200	[thread overview]
Message-ID: <atigDBJr6krOG9Vd@debian> (raw)
In-Reply-To: <CALAj+JbRE6K3mbps9+s4KigF-spW2pQZN6nLNyWYeHy6t_OT+g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 652 bytes --]

Hi David,

> Date: 2026-10-21 11:35:17+0800
> From: David <davidhu0903ex3@gmail.com>
>
> Hi Alejandro Colomar,
> 
> I would like to report a typo in the qsort (
> https://man7.org/linux/man-pages/man3/qsort.3.html) man page.
> The first argument of `qsort` should be `base`, but there seem to be two
> `size_t` types incorrectly inserted there. The argument for `qsort_r` also
> seems to be corrupted.

It is actually valid and correct GNU C (albeit relatively unknown).
See <https://lore.kernel.org/linux-man/aqqih5uGqYP0D_db@devuan/>.


Have a lovely day!
Alex

> 
> Regards,
> David

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

           reply	other threads:[~2026-10-21 11:23 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CALAj+JbRE6K3mbps9+s4KigF-spW2pQZN6nLNyWYeHy6t_OT+g@mail.gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=atigDBJr6krOG9Vd@debian \
    --to=alx@kernel.org \
    --cc=davidhu0903ex3@gmail.com \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox