ladybird/Kernel/Userspace.h
Andreas Kling 72bb80a9ae These changes were lying around uncommitted in the old repo.
I'm just gonna commit them without too much thinking and then take
it from there.
2018-10-16 11:06:35 +02:00

16 lines
268 B
C++

#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();
}