qsort.3: Add documentation of qsort_r(3)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
qsort.3: Improvements to Mark R Bannister's qsort_r() patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
qsort.3: Minor fix-ups to submitted patches

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
qsort.3: Add VERSIONS section for qsort_r()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
utimensat.2, wait.2, end.3: srcfix: remove duplicate words in comments

Reported-by: Justin T Pryzby <justinp@norchemlab.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
getaddrinfo_a.3, pthread_cleanup_push_defer_np.3: Global fix: Remove duplicated words

Remove instances of duplicate words found using Justin's
grep-fu:

    for f in man?/*.[1-9]; do
        grep -HE ' ([[:alpha:]]{2,} +)\1' "$f" |
            grep -Evw '(proc|hugetlbfs|XXX*|root|long) *\1';
    done | grep -E --colo ' ([[:alpha:]]{2,} +)\1'

Reported-by: Justin T Pryzby <justinp@norchemlab.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
malloc.3: NOTES: Add a short discussion of arenas

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
ptrace.2: srcfix: Added FIXME

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
vfork.2: Minor wording fixes

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
intro.2, btowc.3, intro.3, pthread_sigqueue.3: Correct order of SEE ALSO entries

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
err.3: Minor fix to heading

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
getifaddrs.3: Minor fix to heading

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
sigwait.3, strftime.3: Minor fix to heading

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
CPU_SET.3, err.3, fmod.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setstacksize.3, pthread_create.3, stpcpy.3: Global fix: place sections in correct order

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
_exit.2, chmod.2, abs.3, cbrt.3, mkdtemp.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
add_key.2, keyctl.2, request_key.2, offsetof.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_cleanup_push_defer_np.3, pthread_equal.3, pthread_exit.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_self.3, pthread_setaffinity_np.3, pthread_setcancelstate.3, pthread_setconcurrency.3, pthread_setschedparam.3, pthread_setschedprio.3, pthread_testcancel.3: Global formatting fix: balance .nf/.fi pairs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
rt_sigqueueinfo.2: spfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
rt_sigqueueinfo.2: spfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
rt_sigqueueinfo.2: spfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
rt_sigqueueinfo.2, iswctype.3, longjmp.3: Minor fix: add Section number to page xref

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>