Up to [cvs.NetBSD.org] / src / common / lib / libc / string
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
strings.h: Spruce up for POSIX 2024. 1. Add ffsl, ffsll. 2. Hide bcmp, bcopy, bzero, index, rindex for POSIX>=2024. 3. Expose ffs only for NetBSD or POSIX>=2008 with XSI option. 4. Hide popcount* NetBSD extensions for any POSIX. 5. Sprinkle __constfunc on ffs*. Add tests for ffs/ffsl/ffsll in tests/include/sys/t_bitops next to ffs32/ffs64 for convenience. XXX Still missing strcasecmp_l, strncasecmp_l, and locale_t. PR lib/58802: missing ffsl(), ffsll() functions from POSIX 2024