hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/sysroot/usr/include/unistd.h
blob: f5a67ab67739a6415278d15fe1b1b73d2434c6fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _UNISTD_H
#define _UNISTD_H

#include <stddef.h>

#define SEEK_SET 0
#define SEEK_CUR 1
#define SEEK_END 2

long read(int fd, void* buffer, size_t length);
long write(int fd, const void* buffer, size_t length);
int close(int fd);
long lseek(int fd, long offset, int whence);

void* sbrk(long increment);
int brk(void* address);

#endif