warm-up · 3 min
Read a file without leaving it open
Read the first eight bytes of /work/data and exit cleanly. When the process ends it must be holding nothing but the terminal — no file, no stray descriptor.
Your program
Trace
Press Run it.
warm-up · 3 min
Read the first eight bytes of /work/data and exit cleanly. When the process ends it must be holding nothing but the terminal — no file, no stray descriptor.
Press Run it.