Files
freebsd-src/lib
Faraz Vahedi d59c7ea270 libc: Implement bsearch_s(), document bsearch_b(), and add unit tests
- Implement bsearch_s() as per §K.3.6.3.2 in C23, first specified
  in C11.  It behaves identically to bsearch(), except the callback
  is called with a third argument, context, which is passed through
  from the caller, and it also performs runtime constraint checking
  on its arguments.
- Document bsearch_b(), bsearch_s(), and add history section
- Add rudimentary unit tests for bsearch(), bsearch_b(), and bsearch_s()

Reviewed by:	dteske, fuz
Approved by:    dteske (mentor), fuz (mentor)
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D58876
2026-08-22 18:31:27 +03:30
..
2026-01-13 10:19:04 -05:00
2024-10-14 10:26:17 -07:00
2025-01-01 15:11:06 -06:00
2026-08-14 00:54:27 +00:00
2024-10-14 10:26:17 -07:00
2026-01-06 12:56:50 -05:00
2026-03-31 18:45:14 -07:00
2026-06-02 21:54:25 -07:00
2025-10-03 19:46:55 +02:00
2026-03-15 00:41:29 -03:00
2025-11-24 10:47:10 -05:00
2025-08-08 13:27:26 -05:00
2024-10-08 16:13:39 -03:00
2024-10-14 10:26:17 -07:00
2024-11-12 12:11:51 -05:00
2026-08-04 18:27:21 +00:00
2025-09-30 09:14:05 +01:00
2026-01-06 04:26:53 +00:00
2026-03-13 23:49:53 +00:00
2026-04-08 14:22:45 -07:00
2026-01-15 07:28:28 +01:00
2026-07-07 08:47:36 +02:00