summaryrefslogtreecommitdiff
path: root/kernel/syscalls/pwrite.c
blob: b1e47fecaa3977f9367129aa7115a2df1805c566 (plain)
1
2
3
4
5
6
#include <fs/vfs.h>
#include <syscalls.h>

int syscall_pwrite(int fd, const char *buf, size_t count, size_t offset) {
  return vfs_pwrite(fd, (char*)buf, count, offset);
}