zig/lib/c
Ivel fa3228ae42 libc: reimplement swab in Zig (#31130)
This PR replaces the bundled musl swab() implementation with zig's one.

Contributes towards #30978.

It looks like there are not test cases for swab() in test-libc.

Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31130
Reviewed-by: Andrew Kelley <andrew@ziglang.org>
Co-authored-by: Ivel <ivel.santos@proton.me>
Co-committed-by: Ivel <ivel.santos@proton.me>
2026-02-05 20:21:41 +01:00
..
stdlib feat(libzigc): avoid division/multiplication in drand48 and erand48 2026-01-14 23:48:07 +01:00
sys fix(libzigc): export mincore 2026-01-27 00:06:18 +01:00
common.zig fix(libzigc): always apply strong linkage, even when testing 2026-01-29 10:39:38 +01:00
ctype.zig fix(libzigc): properly handle EOF in ctype 2026-01-13 05:58:41 +01:00
inttypes.zig feat(libzigc): add div, ldiv, lldiv and imaxdiv 2026-01-07 21:53:40 +01:00
math.zig libzigc: pow 2026-02-03 20:14:22 +01:00
stdlib.zig feat(libzigc): implement the drand48 family 2026-01-14 13:14:33 +01:00
string.zig feat(libzigc): use common implementations for strings.h and string.h 2026-01-17 22:37:29 +01:00
strings.zig feat(libzigc): use common implementations for strings.h and string.h 2026-01-17 22:37:29 +01:00
sys.zig feat(libzigc): move over some linux syscalls 2026-01-24 20:41:15 +01:00
unistd.zig libc: reimplement swab in Zig (#31130) 2026-02-05 20:21:41 +01:00
wchar.zig feat(libzigc): add wcstok and reuse more std.mem code 2026-01-17 21:42:40 +01:00