DoxigAlpha

create

Function parameters

Parameters

#
path:[*:0]const u8
perms:usize

Ported from /sys/include/ape/errno.h

Types

#
E
Ported from /sys/include/ape/errno.h

Gets whatever the last errstr was

Functions

#
errstr
Gets whatever the last errstr was
brk_
Brk sets the system's idea of the lowest bss location not

= 0

Values

#
PATH_MAX
= 1023
ERRMAX
= 128

Source

Implementation

#
pub fn create(path: [*:0]const u8, omode: mode_t, perms: usize) usize {
    return syscall_bits.syscall3(.CREATE, @intFromPtr(path), @bitCast(@as(isize, omode)), perms);
}