mirror of
https://github.com/opnsense/src.git
synced 2026-02-16 09:08:51 -05:00
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 < ent2 < ent10" as opposed to "ent1 < ent10 < 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 |
||
|---|---|---|
| .. | ||
| Makefile | ||
| Makefile.depend | ||
| memcmp_test.c | ||
| memset_s_test.c | ||
| stpncpy_test.c | ||
| strerror_test.c | ||
| strverscmp_test.c | ||
| strxfrm_test.c | ||
| wcscasecmp_test.c | ||
| wcscoll_test.c | ||
| wcsnlen_test.c | ||