linux_api::errno::errno_base
pub const EISDIR: c_int = 21
=
21
That's... not a file. That's a directory