incorrect usage of mmap return value in the standard library #2415
Labels
bug
Observed behavior contradicts documented or intended behavior
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
standard library
This issue involves writing Zig code for the standard library.
Milestone
These assume the libc API of mmap. However that is a libc thing. mmap returns an error in the normal syscall return code format and posix.getErrno() is needed to find out the error code.
Related: #2380
The text was updated successfully, but these errors were encountered: