Something went wrong. Try again.
Serial ports for Zig: rate, framing, flow control and modem lines, on termios2 for Linux and the DCB for Windows.
Something went wrong. Try again.
Add a backend for macOS and the BSDs
One backend on the 4.4BSD libc termios covers macOS, FreeBSD, NetBSD, OpenBSD and DragonFly. A speed_t there is the rate itself, so any rate is asked for by number; on macOS a rate the driver refuses through tcsetattr is retried through IOSSIOSPEED. Mark and space parity have no CMSPAR to express them and are refused. The module links libc on these targets, and `zig build check` now compiles the tests for each of them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012fcrFCsAeNziaz3Y5QR8E2
Author Co-author Claude Opus 5.5 Date (Oct 10, 2026, 9:19 PM UTC) Commit
Copy SHA
Parent 13a840e0 13a840e05d2cb384659d962de996b45ac03b5c8f