Jan Schaumannjschauma@mstdn.social
Sep 22, 2026, 3:09 PMAdvanced Programming in the #UNIX Environment
Week 3: stat(2) intro
In this video lecture, we meet our new best friend, the 'struct stat'. We'll cover the stat(2) system calls and begin discussing each of the fields in the struct, often by example of the ls(1) and stat(1) commands. In this way, we begin learning more about how the Unix File System is implemented.
(Note that the output of stat(1) on #NetBSD is different from that on #Linux.)

