text: /*
   * POSIX SYSCALLS
   */
  
  #pragma once
  
  #include <Macaronlib/ABI/Syscalls.hpp>
  #include <Macaronlib/Common.hpp>
  
  int putc(char c);
  int exit(int error_code);
  int fork();
  int read(int fd, void* buf, size_t cnt);
  int write(int fd, const void* buf, size_t cnt);
  int lseek(int fd, size_t offset, int whence);
  int open(const char* filename, int flags, uint16_t mode);
  int execve(const char* filename, const char* const* argv, const char* const* envp);
  void* mmap(void* start, uint32_t length, int prot, int flags, int fd, uint32_t offset);
  int ioctl(int fd, unsigned long request, void* arg);
  int socket(int domain, int type, int protocol);
  int bind(int fd, const char* path);
  int connect(int fd, const char* path);
  int select(int nfds, fd_set* readfds, fd_set* writefds, fd_set* execfds, void* timeout);
  int getpid();
  int clock_gettime(int clock_id, timespec* ts);
  int sched_yield();
  int getdents(int fd, linux_dirent* dirp, size_t size);
  int sigaction(int sig, const struct sigaction* act, struct sigaction* old_act);
  int sigprocmask(int how, const sigset_t* set, sigset_t* old_set);
  int kill(int pid, int sig);
  int close(int fd);