https://doc.rust-lang.org/book/ffi.html#interoperability-with-foreign-code in general says > The standard library includes type aliases and function definitions for the C standard library in the libc module, Which is wrong. Reported in https://news.ycombinator.com/reply?id=10132745