NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/58931: qsort_r() missing



>Number:         58931
>Category:       lib
>Synopsis:       qsort_r() missing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 22 10:45:00 +0000 2024
>Originator:     Thomas Klausner
>Release:        NetBSD 10.99.12
>Organization:

>Environment:
	
	
Architecture: x86_64
Machine: amd64
>Description:
qsort_r() is missing.
https://pubs.opengroup.org/onlinepubs/9799919799/functions/qsort_r.html
describes it as

"The qsort_r() function shall be identical to qsort() except that the
comparison function compar takes a third argument. The arg opaque
pointer passed to qsort_r() shall in turn be passed as the third
argument to the comparison function."

>How-To-Repeat:
man qsort_r
grep -r qsort_r /usr/include
>Fix:
Yes, please.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index