aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/unistd.h
blob: f9644f15ef86368ae940f9c96be6fa333e675d55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef MELVIX_UNISTD_H
#define MELVIX_UNISTD_H

#include <stdint.h>

u32 exec(char *path);

void exit(u32 code);

u32 fork();

u32 get_pid();

u32 read(char *path, u32 offset, u32 count, char *buf);

u32 write(char *path, u32 offset, u32 count, char *buf);

#endif