No Medium Found, 3.0

.hy 0 .ad l .nf

Prev, Top | Notes, Next

# Message Content

> This code:
>     int fd = explain_open_or_die("some/thing", O_RDONLY, 0);
> produces this message:
>     open(pathname = "some/file", flags = O_RDONLY) failed,
>     No such file or directory (2, ENOENT) because there is
>     no "some" directory in the current directory
This breaks down into three pieces: system-call `failed,` system-error `because` explanation