DoxigAlpha

write

Function parameters

Parameters

#
fd:i32
buf:[*]const u8
count: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 write(fd: i32, buf: [*]const u8, count: usize) usize {
    return syscall_bits.syscall4(.PWRITE, @bitCast(@as(isize, fd)), @intFromPtr(buf), count, @bitCast(@as(isize, -1)));
}