For those looking for a broader/more portable introduction, Xavier Leroy and Didier Rémy wrote a great high-level text on UNIX system programming a long time ago [1]. Of course it uses ocaml (perhaps motivating some to learn that language) but the style is low-level and straightforwardly imperative. The advantage is that it sweeps up a lot of the messy and boring error handling into the ocaml runtime and/or exceptions. This makes the code a lot easier to follow, but of course makes it look misleadingly simpler than it would be in C (etc).<p>[1] <a href="https://ocaml.github.io/ocamlunix/" rel="nofollow">https://ocaml.github.io/ocamlunix/</a>
by discarded1023
|
Mar 21, 2026, 12:08:17 PM
Is there an actual book available?
by NewsaHackO
|
Mar 21, 2026, 12:08:17 PM