errstr
Gets whatever the last errstr was
Ported from /sys/include/ape/errno.h
Types
Gets whatever the last errstr was
Functions
= 0
Values
- STDIN_FILENO
- = 0
- PATH_MAX
- = 1023
- ERRMAX
- = 128
Source
Implementation
pub fn errstr() []const u8 {
_ = syscall_bits.syscall2(.ERRSTR, @intFromPtr(&errstr_buf), ERRMAX);
return std.mem.span(@as([*:0]u8, @ptrCast(&errstr_buf)));
}