<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/string/strverscmp.3, branch releng/14.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-09-03T16:06:36Z</updated>
<entry>
<title>libc: fix history for strverscmp(3) and versionsort(3)</title>
<updated>2023-09-03T16:06:36Z</updated>
<author>
<name>Mina Galić</name>
<email>freebsd@igalic.co</email>
</author>
<published>2023-08-31T11:50:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4c509ef95c5d2b359b7276487a05f5e9ce911e3d'/>
<id>urn:sha1:4c509ef95c5d2b359b7276487a05f5e9ce911e3d</id>
<content type='text'>
PR:		273401
Approved by:	re (gjb)

(cherry picked from commit 09ec5e67a7a6605e5a58a2e3e82dab243a90609a)
</content>
</entry>
<entry>
<title>libc: Add strverscmp(3) and versionsort(3)</title>
<updated>2022-08-25T00:29:03Z</updated>
<author>
<name>Aymeric Wibo</name>
<email>obiwac@gmail.com</email>
</author>
<published>2022-08-24T23:20:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=05c9a0158f6837bb3a3781e4ed75f66115f6415a'/>
<id>urn:sha1:05c9a0158f6837bb3a3781e4ed75f66115f6415a</id>
<content type='text'>
Add a strverscmp(3) function to libc, a GNU extension I implemented by
reading its glibc manual page. It orders strings following a much more
natural ordering (e.g. "ent1 &lt; ent2 &lt; ent10" as opposed to
"ent1 &lt; ent10 &lt; ent2" with strcmp(3)'s lexicographic ordering).

Also add versionsort(3) for use as scandir(3)'s compar argument.

Update manual page for scandir(3) and add one for strverscmp(3).

Reviewed by:	pstef, gbe, kib
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D35807
</content>
</entry>
</feed>
