News for hackers. Stuff that matters.
Re:I'm too dumb for Zig's new IO interface by kryptiskt on Saturday August 23, 2025 @07:39AM (#44995237)

    extern "C" mmap(addr:*mut c_void, length:c_size_t, prot:c_int, flags:c_int, fd:c_int, offset:c_ssize_t) -> *mut c_void;
Piece of cake. Or you could install a crate with bindings if you are afraid of writing code yourself.

There are no comments on this comment yet.