17 lines
328 B
C
17 lines
328 B
C
#ifndef LIBLINUX_H
|
|
#define LIBLINUX_H
|
|
|
|
#include "syscall.h"
|
|
#include <stddef.h>
|
|
#include <sys/types.h>
|
|
|
|
void exit(int status); // FIXME: noreturn
|
|
int open(const char *pathname, int flags);
|
|
int close(int fd);
|
|
ssize_t write(int fd, const void *buf, size_t count);
|
|
ssize_t read(int fd, void *buf, size_t count);
|
|
|
|
// TODO
|
|
|
|
#endif
|