Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
write.c File Reference
#include "hal/cpu/core.h"
#include "libk/serial.h"
#include "sys/err_no.h"
#include "vfs/vnode.h"
#include <sys/fd.h>
#include <sys/syscall.h>

Go to the source code of this file.

Functions

int syscall_write (int fd, void *buf, long count)
 

Function Documentation

◆ syscall_write()

int syscall_write ( int fd,
void * buf,
long count )

Definition at line 8 of file write.c.

References count, EBADF, ENOTTY, fdt, get_current_core_data(), LOG2_ERROR, and ops.

Referenced by syscall_dispatch().