summaryrefslogtreecommitdiff
path: root/Kernel/Userspace.h
blob: 03ac13ea1f8acea040f7d09720b7013ff5451006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "types.h"

namespace Userspace {

int open(const char* path);
int close(int fd);
int read(int fd, void* outbuf, size_t nread);
int seek(int fd, int offset);
int kill(pid_t pid, int sig);
uid_t getuid();
void sleep(DWORD ticks);
void yield();
void putch(char);

}